mirror of https://github.com/axmolengine/axmol.git
SetBlending fix
This commit is contained in:
parent
3096b009f3
commit
3d116c3333
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue