Changed: #878 Fix typos in comments/code

hg/feature/sound
kervala 14 years ago
parent 33b32e9efb
commit d3a9566b26

@ -743,9 +743,8 @@ void CDriverGLStates::enableVertexArray(bool enable)
glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_VERTEX_ARRAY);
else else
glDisableClientState(GL_VERTEX_ARRAY); glDisableClientState(GL_VERTEX_ARRAY);
_VertexArrayEnabled= enable;
_VertexArrayEnabled= enable;
} }
} }
// *************************************************************************** // ***************************************************************************

@ -1016,7 +1016,6 @@ void CDriverGL::toggleGlArraysForNVVertexProgram()
_DriverGLStates.enableTexCoordArray(false); _DriverGLStates.enableTexCoordArray(false);
} }
// now, vertex program setup. // now, vertex program setup.
_LastSetupGLArrayVertexProgram= true; _LastSetupGLArrayVertexProgram= true;
} }
@ -1080,6 +1079,7 @@ void CDriverGL::toggleGlArraysForARBVertexProgram()
_DriverGLStates.clientActiveTextureARB(i); _DriverGLStates.clientActiveTextureARB(i);
_DriverGLStates.enableTexCoordArray(false); _DriverGLStates.enableTexCoordArray(false);
} }
// now, vertex program setup. // now, vertex program setup.
_LastSetupGLArrayVertexProgram= true; _LastSetupGLArrayVertexProgram= true;
} }
@ -1129,7 +1129,6 @@ void CDriverGL::toggleGlArraysForEXTVertexShader()
_DriverGLStates.enableTexCoordArray(false); _DriverGLStates.enableTexCoordArray(false);
} }
// now, vertex program setup. // now, vertex program setup.
_LastSetupGLArrayVertexProgram= true; _LastSetupGLArrayVertexProgram= true;
} }

Loading…
Cancel
Save