Game engine was not updated yet to disable vertex/normal state on exit as

other parts of Blender expect, might have caused issues with VBO's in some
cases.
This commit is contained in:
Brecht Van Lommel
2010-07-27 11:07:34 +00:00
parent 0280736181
commit 5e5b0cbb26

View File

@@ -91,8 +91,8 @@ void RAS_VAOpenGLRasterizer::SetDrawingMode(int drawingmode)
void RAS_VAOpenGLRasterizer::Exit()
{
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);
glDisableClientState(GL_VERTEX_ARRAY);
glDisableClientState(GL_NORMAL_ARRAY);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
glDisableClientState(GL_COLOR_ARRAY);