summaryrefslogtreecommitdiff
path: root/progs/demos/osdemo.c
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2001-09-24 15:29:27 +0000
committerKarl Schultz <kschultz@freedesktop.org>2001-09-24 15:29:27 +0000
commit220e77a3f7a8e3ad165fa4ea4564564a2832a803 (patch)
tree29d33077243ce0b9c5e22731eac7528078fa0660 /progs/demos/osdemo.c
parent0e94067d0dc4a8d17bfe12e9714d730829d88169 (diff)
use OSMESA_* enums for OSMesaCreateContext instead of GL_*.
Diffstat (limited to 'progs/demos/osdemo.c')
-rw-r--r--progs/demos/osdemo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/demos/osdemo.c b/progs/demos/osdemo.c
index b43950b63d..73fb367fec 100644
--- a/progs/demos/osdemo.c
+++ b/progs/demos/osdemo.c
@@ -1,4 +1,4 @@
-/* $Id: osdemo.c,v 1.6 2001/07/13 20:09:18 brianp Exp $ */
+/* $Id: osdemo.c,v 1.7 2001/09/24 15:29:27 kschultz Exp $ */
/*
* Demo of off-screen Mesa rendering
@@ -228,9 +228,9 @@ int main( int argc, char *argv[] )
/* Create an RGBA-mode context */
#if OSMESA_MAJOR_VERSION * 100 + OSMESA_MINOR_VERSION >= 305
/* specify Z, stencil, accum sizes */
- OSMesaContext ctx = OSMesaCreateContextExt( GL_RGBA, 16, 0, 0, NULL );
+ OSMesaContext ctx = OSMesaCreateContextExt( OSMESA_RGBA, 16, 0, 0, NULL );
#else
- OSMesaContext ctx = OSMesaCreateContext( GL_RGBA, NULL );
+ OSMesaContext ctx = OSMesaCreateContext( OSMESA_RGBA, NULL );
#endif
if (!ctx) {
printf("OSMesaCreateContext failed!\n");