Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
668153eb56
commit
708d0503a3
4 changed files with 16 additions and 18 deletions
|
@ -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…
Reference in a new issue