diff options
author | Brian Paul <brianp@vmware.com> | 2009-07-08 13:58:30 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-07-08 13:58:30 -0600 |
commit | 820436f97821b5e1774fda8daf86ea0dcc379186 (patch) | |
tree | ecc798cdc5d5760bd8c5b272837d8d959e57825b /progs/demos | |
parent | bf71ece171305f80972f6e401442372618265fcb (diff) | |
download | external_mesa3d-820436f97821b5e1774fda8daf86ea0dcc379186.zip external_mesa3d-820436f97821b5e1774fda8daf86ea0dcc379186.tar.gz external_mesa3d-820436f97821b5e1774fda8daf86ea0dcc379186.tar.bz2 |
demos: use glEnable/DisableClientState() for vertex arrays
Diffstat (limited to 'progs/demos')
-rw-r--r-- | progs/demos/isosurf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/demos/isosurf.c b/progs/demos/isosurf.c index 6923ca2..2e9dff1 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(); |