summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-10-11 15:41:34 +0000
committerBrian Paul <[email protected]>2003-10-11 15:41:34 +0000
commit4128d88b98e22676fa05ed586da1641c85a0bde2 (patch)
tree06257d0f69ddaff948ee94843e8c45b4c93dcc9f /src
parent5dce1e5c420872ae096854841a9665f8d3d649fb (diff)
s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c2
1 files changed, 1 insertions, 1 deletions
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);
}