SetBlending fix

This commit is contained in:
James Chen 2016-06-01 17:46:27 +08:00
parent 3096b009f3
commit 3d116c3333
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->setBlend(true);
RenderState::StateBlock::_defaultState->setBlendSrc((RenderState::Blend)sfactor); RenderState::StateBlock::_defaultState->setBlendSrc((RenderState::Blend)sfactor);
RenderState::StateBlock::_defaultState->setBlendSrc((RenderState::Blend)dfactor); RenderState::StateBlock::_defaultState->setBlendDst((RenderState::Blend)dfactor);
} }
} }