mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
explicitly init some texture vars
This commit is contained in:
parent
ae18872bc7
commit
23316033db
1 changed files with 3 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue