don't use color table's format to determine texture env functions
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user