From: Brian Paul Date: Sat, 11 Oct 2003 15:30:14 +0000 (+0000) Subject: don't use color table's format to determine texture env functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd29e04bd6097ad169bb841bd137ecabf3d7a3de;p=mesa.git don't use color table's format to determine texture env functions --- diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c index a196f34c275..2342179a4e6 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: