From: Brian Paul Date: Sat, 11 Oct 2003 15:41:34 +0000 (+0000) Subject: s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4128d88b98e22676fa05ed586da1641c85a0bde2;p=mesa.git s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/ --- 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); }