From dd29e04bd6097ad169bb841bd137ecabf3d7a3de Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 11 Oct 2003 15:30:14 +0000 Subject: don't use color table's format to determine texture env functions --- src/mesa/swrast/s_texture.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mesa/swrast') diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c index a196f34c27..2342179a4e 100644 --- a/src/mesa/swrast/s_texture.c +++ b/src/mesa/swrast/s_texture.c @@ -3873,9 +3873,6 @@ texture_apply( const GLcontext *ctx, else if (format == GL_DEPTH_COMPONENT) { format = texUnit->_Current->DepthMode; } - else if (texUnit->ColorTableEnabled) { - format = texUnit->ColorTable.Format; - } switch (texUnit->EnvMode) { case GL_REPLACE: -- cgit v1.2.3