projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf845f
)
fix bug in popping texture color table state
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 5 Feb 2003 15:24:28 +0000
(15:24 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 5 Feb 2003 15:24:28 +0000
(15:24 +0000)
src/mesa/main/attrib.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/attrib.c
b/src/mesa/main/attrib.c
index 7a8f5c7f3b72f5ddc3bd343f1dd24349fb13a27e..1ae12c8bef4eccd791f6548ddac56bc643fffb63 100644
(file)
--- a/
src/mesa/main/attrib.c
+++ b/
src/mesa/main/attrib.c
@@
-1,4
+1,4
@@
-/* $Id: attrib.c,v 1.7
7 2003/01/26 14:37:15
brianp Exp $ */
+/* $Id: attrib.c,v 1.7
8 2003/02/05 15:24:28
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-631,7
+631,7
@@
pop_texture_group(GLcontext *ctx, const struct gl_texture_attrib *texAttrib)
}
if (ctx->Extensions.SGI_texture_color_table) {
_mesa_set_enable(ctx, GL_TEXTURE_COLOR_TABLE_SGI,
-
texAttrib->Unit[i].
ColorTableEnabled);
+
unit->
ColorTableEnabled);
}
_mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, unit->EnvMode);
_mesa_TexEnvfv(GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, unit->EnvColor);