Extend GLState: viewport, texture, framebuffer (#667)

This commit is contained in:
Gustl22
2019-02-19 17:12:46 +01:00
committed by Emux
parent 46349724a8
commit f599a14506
5 changed files with 42 additions and 12 deletions

View File

@@ -88,7 +88,7 @@ public class GdxSpriteBatchTest extends GdxMapApp {
GLState.enableVertexArrays(GLState.DISABLED, GLState.DISABLED);
gl.viewport(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
GLState.viewport(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
gl.frontFace(GL.CW);
mMapRenderer.onDrawFrame();