diff --git a/cocos/renderer/ccGLStateCache.cpp b/cocos/renderer/ccGLStateCache.cpp index 477976db82..d801b7ac79 100644 --- a/cocos/renderer/ccGLStateCache.cpp +++ b/cocos/renderer/ccGLStateCache.cpp @@ -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); } }