remove bogus _swrast_texture_table_lookup() call (Eric Plante)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Oct 2003 18:10:54 +0000 (18:10 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Oct 2003 18:10:54 +0000 (18:10 +0000)
src/mesa/swrast/s_context.c

index 99da79afd5f038011f060dfbb191479757b6b12a..35297569d895e13231c78308f493e923bb0e6d1b 100644 (file)
@@ -311,11 +311,6 @@ _swrast_validate_texture_sample( GLcontext *ctx, GLuint texUnit,
 
    swrast->TextureSample[texUnit]( ctx, texUnit, tObj, n, texcoords,
                                    lambda, rgba );
-
-   /* GL_SGI_texture_color_table */
-   if (ctx->Texture.Unit[texUnit].ColorTableEnabled) {
-      _swrast_texture_table_lookup(&ctx->Texture.Unit[texUnit].ColorTable, n, rgba);
-   }
 }