GLState: State DISABLED = -1 (readability).
This commit is contained in:
@@ -104,9 +104,9 @@ public class GdxModelRenderer extends LayerRenderer {
|
||||
|
||||
// set state that is expected after modelBatch.end();
|
||||
// modelBatch keeps track of its own state
|
||||
GLState.enableVertexArrays(-1, -1);
|
||||
GLState.bindTex2D(-1);
|
||||
GLState.useProgram(-1);
|
||||
GLState.enableVertexArrays(GLState.DISABLED, GLState.DISABLED);
|
||||
GLState.bindTex2D(GLState.DISABLED);
|
||||
GLState.useProgram(GLState.DISABLED);
|
||||
GLState.test(false, false);
|
||||
GLState.blend(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user