diff options
author | Brian Paul <brianp@vmware.com> | 2011-02-28 18:24:30 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-02-28 18:24:30 -0700 |
commit | 9d20849516fe34bb0a430b007cef7878858cf0c7 (patch) | |
tree | 67c226c5ccade1c0eb30f3c3e76443c81ffbd586 /src/mesa/main/texstate.c | |
parent | 7e161bcf11d539ecc2482b71b21783a23e36f596 (diff) |
mesa: remove GL_SGI_texture_color_table support
It was only implemented in the swrast driver and probably not used by
any applications. A modern app would use a dependent/chained texture
lookup in the fragment shader.
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r-- | src/mesa/main/texstate.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index f4d77189f2..41d531f597 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -818,9 +818,6 @@ _mesa_free_texture_data(struct gl_context *ctx) /* Free proxy texture objects */ for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) ctx->Driver.DeleteTexture(ctx, ctx->Texture.ProxyTex[tgt]); - - for (u = 0; u < Elements(ctx->Texture.Unit); u++) - _mesa_free_colortable_data(&ctx->Texture.Unit[u].ColorTable); } |