mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:49:12 +02:00
Calling glInterleavedArrays enables the client vertex/color array states, so
we need to disable them afterwards.
This commit is contained in:
parent
995507065c
commit
e81fed2622
1 changed files with 2 additions and 0 deletions
|
@ -509,6 +509,8 @@ namespace starfield {
|
||||||
_program.release();
|
_program.release();
|
||||||
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
|
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
|
||||||
glDisable(GL_POINT_SMOOTH);
|
glDisable(GL_POINT_SMOOTH);
|
||||||
|
glDisableClientState(GL_VERTEX_ARRAY);
|
||||||
|
glDisableClientState(GL_COLOR_ARRAY);
|
||||||
|
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue