mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 17:00:36 +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();
|
||||
glDisable(GL_VERTEX_PROGRAM_POINT_SIZE);
|
||||
glDisable(GL_POINT_SMOOTH);
|
||||
glDisableClientState(GL_VERTEX_ARRAY);
|
||||
glDisableClientState(GL_COLOR_ARRAY);
|
||||
|
||||
glPopMatrix();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue