don't use color table's format to determine texture env functions

This commit is contained in:
Brian Paul 2003-10-11 15:30:14 +00:00
parent ad5cd6d337
commit dd29e04bd6

View File

@ -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: