Fixes to BlendFunc - adding missing ZERO handling.

Improved handling of alpha values in DXT1 compression.
This commit is contained in:
Robert Osfield
2003-04-18 19:46:46 +00:00
parent bc8bd29646
commit 1cf0be9963
3 changed files with 38 additions and 5 deletions

View File

@@ -247,6 +247,7 @@ void State::apply(const StateSet* dstate)
apply();
}
if (_reportGLErrors) checkGLErrors("end of State::apply(StateSet*)");
}
void State::apply()
@@ -271,6 +272,8 @@ void State::apply()
if (unit<_textureAttributeMapList.size()) applyAttributeMap(_textureAttributeMapList[unit]);
}
}
if (_reportGLErrors) checkGLErrors("end of State::apply()");
}
void State::haveAppliedMode(StateAttribute::GLMode mode,StateAttribute::GLModeValue value)