s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user