From 4128d88b98e22676fa05ed586da1641c85a0bde2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 11 Oct 2003 15:41:34 +0000 Subject: s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/ --- src/mesa/drivers/osmesa/osmesa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/osmesa/osmesa.c') diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 5aea5a44e55..2b64010c80d 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -793,7 +793,7 @@ hook_in_driver_functions( GLcontext *ctx ) GLAPI OSMesaContext GLAPIENTRY OSMesaCreateContext( GLenum format, OSMesaContext sharelist ) { - const GLint accumBits = (format == GL_COLOR_INDEX) ? 0 : 16; + const GLint accumBits = (format == OSMESA_COLOR_INDEX) ? 0 : 16; return OSMesaCreateContextExt(format, DEFAULT_SOFTWARE_DEPTH_BITS, 8, accumBits, sharelist); } -- cgit v1.2.3