diff options
author | Brian Paul <[email protected]> | 2001-01-29 22:15:44 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-01-29 22:15:44 +0000 |
commit | ba70e59e829b9ef0db0ce6fbf8227d3911f0e43c (patch) | |
tree | e39355819db988c873d007f6c996332742a54ed8 /src/mesa | |
parent | 961b7cad05d525850cb8f25147f847b0291f3046 (diff) |
GL_SHADE_MODEL wasn't popped correctly
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/attrib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index f1e189d8fe7..205c14b0241 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1,4 +1,4 @@ -/* $Id: attrib.c,v 1.42 2001/01/24 15:27:10 brianp Exp $ */ +/* $Id: attrib.c,v 1.43 2001/01/29 22:15:44 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -718,7 +718,7 @@ _mesa_PopAttrib(void) MEMCPY(ctx->Light.Material, light->Material, 2 * sizeof(struct gl_material)); /* shade model */ - _mesa_ShadeModel(ctx->Light.ShadeModel); + _mesa_ShadeModel(light->ShadeModel); /* color material */ _mesa_ColorMaterial(light->ColorMaterialFace, light->ColorMaterialMode); |