Fixed player names not displaying

This commit is contained in:
Anuken
2018-07-04 15:01:29 -04:00
parent 6ff44fddd0
commit 071d0fbbf7
3 changed files with 13 additions and 11 deletions

View File

@@ -123,14 +123,12 @@ public class FogRenderer implements Disposable{
Graphics.shader();
Graphics.begin();
Core.batch.draw(renderer.pixelSurface.texture(), px, py + vh, vw, -vh);
Graphics.end();
if(Core.batch instanceof ClipSpriteBatch){
((ClipSpriteBatch) Core.batch).enableClip(true);
}
}
public Texture getTexture(){