Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-11-03 13:44:27 +01:00
parent 33b32e9efb
commit d3a9566b26
4 changed files with 16 additions and 18 deletions

View file

@ -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;
} }
} }
// *************************************************************************** // ***************************************************************************

View file

@ -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;
} }