From 5ddc53f899598396003ec6c723f8132c76aafe79 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 22 May 2006 14:17:32 +0000 Subject: Better caching for texenv programs. Initialize some values correctly. --- src/mesa/main/texstate.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/main/texstate.c') diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index 7e762edd25..ea3873c380 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -3198,6 +3198,8 @@ _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; -- cgit v1.2.3