mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed: the delayed state changer for the alpha function called glBlendFunc instead of glAlphaFunc.
This commit is contained in:
parent
a42cde0837
commit
cd6d653b59
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue