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/demos/isosurf.c | |
parent | bf71ece171305f80972f6e401442372618265fcb (diff) |
demos: use glEnable/DisableClientState() for vertex arrays
Diffstat (limited to 'progs/demos/isosurf.c')
-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 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(); |