projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
961b7ca
)
GL_SHADE_MODEL wasn't popped correctly
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 29 Jan 2001 22:15:44 +0000
(22:15 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 29 Jan 2001 22:15:44 +0000
(22:15 +0000)
src/mesa/main/attrib.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/attrib.c
b/src/mesa/main/attrib.c
index f1e189d8fe741a8334c685f83d5d41c630ef50a2..205c14b024196e62b920b5e48db4ce36cdcaa004 100644
(file)
--- a/
src/mesa/main/attrib.c
+++ b/
src/mesa/main/attrib.c
@@
-1,4
+1,4
@@
-/* $Id: attrib.c,v 1.4
2 2001/01/24 15:27:10
brianp Exp $ */
+/* $Id: attrib.c,v 1.4
3 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);