mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-04-27 07:50:54 -07:00
Small rendering fix
This commit is contained in:
parent
dbcce9663c
commit
48b7ceac06
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue