summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/osmesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-10-11 15:41:34 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-10-11 15:41:34 +0000
commit4128d88b98e22676fa05ed586da1641c85a0bde2 (patch)
tree06257d0f69ddaff948ee94843e8c45b4c93dcc9f /src/mesa/drivers/osmesa
parent5dce1e5c420872ae096854841a9665f8d3d649fb (diff)
s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/
Diffstat (limited to 'src/mesa/drivers/osmesa')
-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 5aea5a44e5..2b64010c80 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);
}