diff options
author | Keith Whitwell <[email protected]> | 2006-05-22 14:17:32 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-05-22 14:17:32 +0000 |
commit | 5ddc53f899598396003ec6c723f8132c76aafe79 (patch) | |
tree | 5cbcc879ad55cdc0da34fe00457028a18cb81b81 /src/mesa/main/texstate.c | |
parent | 7e3fa7e837aaf687996abdd8511f6bf32e2c9097 (diff) |
Better caching for texenv programs.
Initialize some values correctly.
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r-- | src/mesa/main/texstate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index 7e762edd256..ea3873c3804 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; |