- fixed: the delayed state changer for the alpha function called glBlendFunc instead of glAlphaFunc.

This commit is contained in:
Christoph Oelckers 2014-05-11 13:29:06 +02:00
parent a42cde0837
commit cd6d653b59

View file

@ -285,7 +285,7 @@ void FRenderState::Apply(bool forcenoshader)
{ {
glAlphaFunc = mAlphaFunc; glAlphaFunc = mAlphaFunc;
glAlphaThreshold = mAlphaThreshold; glAlphaThreshold = mAlphaThreshold;
::glBlendFunc(mAlphaFunc, mAlphaThreshold); ::glAlphaFunc(mAlphaFunc, mAlphaThreshold);
} }
if (mAlphaTest != glAlphaTest) if (mAlphaTest != glAlphaTest)
{ {