summaryrefslogtreecommitdiffstats
path: root/progs/glsl/multitex.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-07-08 13:58:30 -0600
committerBrian Paul <brianp@vmware.com>2009-07-08 13:58:30 -0600
commit820436f97821b5e1774fda8daf86ea0dcc379186 (patch)
treeecc798cdc5d5760bd8c5b272837d8d959e57825b /progs/glsl/multitex.c
parentbf71ece171305f80972f6e401442372618265fcb (diff)
demos: use glEnable/DisableClientState() for vertex arrays
Diffstat (limited to 'progs/glsl/multitex.c')
-rw-r--r--progs/glsl/multitex.c2
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,