mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15761 from dumganhar/set-blending-fix
SetBlending fix
This commit is contained in:
commit
66217b7bd1
|
@ -119,7 +119,7 @@ static void SetBlending(GLenum sfactor, GLenum dfactor)
|
|||
|
||||
RenderState::StateBlock::_defaultState->setBlend(true);
|
||||
RenderState::StateBlock::_defaultState->setBlendSrc((RenderState::Blend)sfactor);
|
||||
RenderState::StateBlock::_defaultState->setBlendSrc((RenderState::Blend)dfactor);
|
||||
RenderState::StateBlock::_defaultState->setBlendDst((RenderState::Blend)dfactor);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue