summaryrefslogtreecommitdiffstats
path: root/progs/glsl
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
parentbf71ece171305f80972f6e401442372618265fcb (diff)
downloadexternal_mesa3d-820436f97821b5e1774fda8daf86ea0dcc379186.zip
external_mesa3d-820436f97821b5e1774fda8daf86ea0dcc379186.tar.gz
external_mesa3d-820436f97821b5e1774fda8daf86ea0dcc379186.tar.bz2
demos: use glEnable/DisableClientState() for vertex arrays
Diffstat (limited to 'progs/glsl')
-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 cbf1733..2e3770d 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,