Saved one getClientAttribStack() in StateTracker.pushAttrib()
This commit is contained in:
parent
bb66074c13
commit
5e4807ebac
|
@ -53,8 +53,9 @@ final class StateTracker {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pushAttrib(int mask) {
|
static void pushAttrib(int mask) {
|
||||||
getClientAttribStack().pushState();
|
StateStack attrib_stack = getClientAttribStack();
|
||||||
getClientAttribStack().setState(mask);
|
attrib_stack.pushState();
|
||||||
|
attrib_stack.setState(mask);
|
||||||
if ((mask & GL11.GL_CLIENT_VERTEX_ARRAY_BIT) != 0) {
|
if ((mask & GL11.GL_CLIENT_VERTEX_ARRAY_BIT) != 0) {
|
||||||
getReferencesStack().pushState();
|
getReferencesStack().pushState();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue