Fixes to BlendFunc - adding missing ZERO handling.
Improved handling of alpha values in DXT1 compression.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user