projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad5cd6d
)
don't use color table's format to determine texture env functions
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 11 Oct 2003 15:30:14 +0000
(15:30 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 11 Oct 2003 15:30:14 +0000
(15:30 +0000)
src/mesa/swrast/s_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_texture.c
b/src/mesa/swrast/s_texture.c
index a196f34c275ad3e4ac071b251097a222cce1c827..2342179a4e6568740232f7fc02c0d3be0ae6fd08 100644
(file)
--- 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: