mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-05 16:37:38 +07:00
Small rendering fix
This commit is contained in:
parent
dbcce9663c
commit
48b7ceac06
@ -250,7 +250,11 @@ public class Renderer extends RendererModule{
|
||||
EntityDraw.drawWith(shieldGroup, shield -> true, shield -> ((ShieldEntity)shield).drawOver());
|
||||
Graphics.endShaders();
|
||||
|
||||
Graphics.flushSurface();
|
||||
if(showFog){
|
||||
Graphics.surface();
|
||||
}else{
|
||||
Graphics.flushSurface();
|
||||
}
|
||||
|
||||
batch.end();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user