Merge pull request #605 from Gustl22/glstate_const

GLState: constant UNBIND = 0
This commit is contained in:
Emux
2018-12-03 11:43:30 +02:00
committed by GitHub
4 changed files with 6 additions and 6 deletions

View File

@@ -94,8 +94,8 @@ public class GdxSpriteBatchTest extends GdxMapApp {
mMapRenderer.onDrawFrame();
gl.flush();
GLState.bindVertexBuffer(0);
GLState.bindElementBuffer(0);
GLState.bindVertexBuffer(GLState.UNBIND);
GLState.bindElementBuffer(GLState.UNBIND);
gl.frontFace(GL.CCW);
spriteBatch.setProjectionMatrix(camera.combined);