summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-10-11 15:30:14 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-10-11 15:30:14 +0000
commitdd29e04bd6097ad169bb841bd137ecabf3d7a3de (patch)
treea5822f11d8cd0c12b7df071001816ed1ad7c6fdc /src/mesa
parentad5cd6d337589af1a5cd03a93baf943745db583c (diff)
don't use color table's format to determine texture env functions
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_texture.c3
1 files changed, 0 insertions, 3 deletions
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: