aboutsummaryrefslogtreecommitdiffstats
path: root/progs/demos/isosurf.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-07-08 13:58:30 -0600
committerBrian Paul <[email protected]>2009-07-08 13:58:30 -0600
commit820436f97821b5e1774fda8daf86ea0dcc379186 (patch)
treeecc798cdc5d5760bd8c5b272837d8d959e57825b /progs/demos/isosurf.c
parentbf71ece171305f80972f6e401442372618265fcb (diff)
demos: use glEnable/DisableClientState() for vertex arrays
Diffstat (limited to 'progs/demos/isosurf.c')
-rw-r--r--progs/demos/isosurf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/demos/isosurf.c b/progs/demos/isosurf.c
index 6923ca2bba8..2e9dff17261 100644
--- a/progs/demos/isosurf.c
+++ b/progs/demos/isosurf.c
@@ -847,8 +847,8 @@ static void Init(int argc, char *argv[])
glClearColor(0.0, 0.0, 1.0, 0.0);
glEnable( GL_DEPTH_TEST );
- glEnable( GL_VERTEX_ARRAY_EXT );
- glEnable( GL_NORMAL_ARRAY_EXT );
+ glEnableClientState( GL_VERTEX_ARRAY );
+ glEnableClientState( GL_NORMAL_ARRAY );
glMatrixMode(GL_PROJECTION);
glLoadIdentity();