mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 13:30:12 +01:00
GL_SHADE_MODEL wasn't popped correctly
This commit is contained in:
parent
961b7cad05
commit
ba70e59e82
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue