diff options
author | Brian Paul <[email protected]> | 2003-02-05 15:24:28 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-02-05 15:24:28 +0000 |
commit | 66dce0875ee6ed61fcfca56f23b367e75f1c9584 (patch) | |
tree | be12e0c42dc9e99fa5c31d47093a961e662221d7 /src/mesa/main | |
parent | 6cf845f338fc12022dcc68508bfe2d59117a558f (diff) |
fix bug in popping texture color table state
Diffstat (limited to 'src/mesa/main')
-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 7a8f5c7f3b7..1ae12c8bef4 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1,4 +1,4 @@ -/* $Id: attrib.c,v 1.77 2003/01/26 14:37:15 brianp Exp $ */ +/* $Id: attrib.c,v 1.78 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); |