summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-09-14 23:13:23 +0000
committerBrian Paul <[email protected]>2000-09-14 23:13:23 +0000
commit23316033db12a4d0df10a7d9dbe51b409856a3ac (patch)
tree26cf52f34add1584fa51c7d89b65d71a47f830f8
parentae18872bc70df370cd6790e7bdd23f2befd14930 (diff)
explicitly init some texture vars
-rw-r--r--src/mesa/main/context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index b9eca9fca65..e94e399a88f 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.85 2000/09/12 21:07:40 brianp Exp $ */
+/* $Id: context.c,v 1.86 2000/09/14 23:13:23 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1153,8 +1153,10 @@ init_attrib_groups( GLcontext *ctx )
ctx->Texture.CurrentUnit = 0; /* multitexture */
ctx->Texture.CurrentTransformUnit = 0; /* multitexture */
ctx->Texture.Enabled = 0;
+ ctx->Texture.ReallyEnabled = 0;
for (i=0; i<MAX_TEXTURE_UNITS; i++)
init_texture_unit( ctx, i );
+ ctx->Texture.SharedPalette = GL_FALSE;
_mesa_init_colortable(&ctx->Texture.Palette);
/* Transformation group */