Calling glInterleavedArrays enables the client vertex/color array states, so

we need to disable them afterwards.
This commit is contained in:
Andrzej Kapolka 2013-07-16 12:31:58 -07:00
parent 995507065c
commit e81fed2622

View file

@ -509,6 +509,8 @@ namespace starfield {
_program.release();
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
glDisable(GL_POINT_SMOOTH);
glDisableClientState(GL_VERTEX_ARRAY);
glDisableClientState(GL_COLOR_ARRAY);
glPopMatrix();
}