summaryrefslogtreecommitdiff
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r--src/mesa/main/enable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 2c0e3334c7..f60fcc44f2 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -1,4 +1,4 @@
-/* $Id: enable.c,v 1.27 2000/10/27 16:44:40 keithw Exp $ */
+/* $Id: enable.c,v 1.28 2000/10/29 19:02:23 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -117,7 +117,7 @@ void _mesa_set_enable( GLcontext *ctx, GLenum cap, GLboolean state )
ctx->Light.ColorMaterialEnabled = state;
ctx->NewState |= NEW_LIGHTING;
if (state)
- gl_update_color_material( ctx, ctx->Current.ByteColor );
+ gl_update_color_material( ctx, ctx->Current.Color );
}
break;
case GL_CULL_FACE: