s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/

This commit is contained in:
Brian Paul
2003-10-11 15:41:34 +00:00
parent 5dce1e5c42
commit 4128d88b98
+1 -1
View File
@@ -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);
}