Commit 9a1ca37e authored by Brian Paul's avatar Brian Paul
Browse files

GL_SHADE_MODEL wasn't popped correctly

parent 0eedea50
/* $Id: attrib.c,v 1.25.2.2 2001/01/23 23:33:52 brianp Exp $ */ /* $Id: attrib.c,v 1.25.2.3 2001/01/29 22:15:36 brianp Exp $ */
/* /*
* Mesa 3-D graphics library * Mesa 3-D graphics library
...@@ -712,7 +712,7 @@ _mesa_PopAttrib(void) ...@@ -712,7 +712,7 @@ _mesa_PopAttrib(void)
MEMCPY(ctx->Light.Material, light->Material, MEMCPY(ctx->Light.Material, light->Material,
2 * sizeof(struct gl_material)); 2 * sizeof(struct gl_material));
/* shade model */ /* shade model */
_mesa_ShadeModel(ctx->Light.ShadeModel); _mesa_ShadeModel(light->ShadeModel);
/* color material */ /* color material */
_mesa_ColorMaterial(light->ColorMaterialFace, _mesa_ColorMaterial(light->ColorMaterialFace,
light->ColorMaterialMode); light->ColorMaterialMode);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment