summaryrefslogtreecommitdiff
path: root/src/mesa/main/texstate.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-10-31 12:45:32 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-10-31 12:45:32 -0600
commitf4a5ea2ccb472958a4635c606e9510011bceaa3d (patch)
treedfa06910da217c6b5b9ccf3a40ee8a17a47f7a61 /src/mesa/main/texstate.c
parenta35a2fc0d3aaa795a0088bfc390b98a033fc28de (diff)
Update texenvprogram.c code to use prog_cache.c routines.
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r--src/mesa/main/texstate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index c9f8a0656e..cb7da39b51 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -3210,8 +3210,6 @@ _mesa_init_texture(GLcontext *ctx)
ctx->Texture.SharedPalette = GL_FALSE;
_mesa_init_colortable(&ctx->Texture.Palette);
- _mesa_TexEnvProgramCacheInit( ctx );
-
/* Allocate proxy textures */
if (!alloc_proxy_textures( ctx ))
return GL_FALSE;
@@ -3239,6 +3237,4 @@ _mesa_free_texture_data(GLcontext *ctx)
for (i = 0; i < MAX_TEXTURE_IMAGE_UNITS; i++)
_mesa_free_colortable_data( &ctx->Texture.Unit[i].ColorTable );
-
- _mesa_TexEnvProgramCacheDestroy( ctx );
}