GLState: constant UNBIND = 0

This commit is contained in:
Gustl22
2018-12-02 23:28:12 +01:00
parent bb87c8a51b
commit 07afebba4e
5 changed files with 7 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);