Merge pull request #15761 from dumganhar/set-blending-fix

SetBlending fix
This commit is contained in:
minggo 2016-06-02 11:01:50 +08:00
commit 66217b7bd1
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}