From: Brian Paul Date: Thu, 14 Sep 2000 23:13:23 +0000 (+0000) Subject: explicitly init some texture vars X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23316033db12a4d0df10a7d9dbe51b409856a3ac;p=mesa.git explicitly init some texture vars --- 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; iTexture.SharedPalette = GL_FALSE; _mesa_init_colortable(&ctx->Texture.Palette); /* Transformation group */