GLState: State DISABLED = -1 (readability).
This commit is contained in:
@@ -86,7 +86,7 @@ public class GdxSpriteBatchTest extends GdxMapApp {
|
||||
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT | GL20.GL_DEPTH_BUFFER_BIT | (Gdx.graphics.getBufferFormat().coverageSampling ?
|
||||
GL20.GL_COVERAGE_BUFFER_BIT_NV : 0));
|
||||
|
||||
GLState.enableVertexArrays(-1, -1);
|
||||
GLState.enableVertexArrays(GLState.DISABLED, GLState.DISABLED);
|
||||
|
||||
gl.viewport(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
|
||||
gl.frontFace(GL.CW);
|
||||
|
||||
Reference in New Issue
Block a user