diff options
author | Brian Paul <[email protected]> | 2009-07-08 13:58:30 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-07-08 13:58:30 -0600 |
commit | 820436f97821b5e1774fda8daf86ea0dcc379186 (patch) | |
tree | ecc798cdc5d5760bd8c5b272837d8d959e57825b /progs/glsl | |
parent | bf71ece171305f80972f6e401442372618265fcb (diff) |
demos: use glEnable/DisableClientState() for vertex arrays
Diffstat (limited to 'progs/glsl')
-rw-r--r-- | progs/glsl/multitex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/glsl/multitex.c b/progs/glsl/multitex.c index cbf173304c1..2e3770dc401 100644 --- a/progs/glsl/multitex.c +++ b/progs/glsl/multitex.c @@ -140,7 +140,7 @@ DrawPolygonArray(void) } else { glVertexPointer(2, GL_FLOAT, 0, vertPtr); - glEnable(GL_VERTEX_ARRAY); + glEnableClientState(GL_VERTEX_ARRAY); } glVertexAttribPointer_func(TexCoord0_attr, 2, GL_FLOAT, GL_FALSE, |