Fixed srcBlend not being updated
Former-commit-id: 84ae24fdc116c48b91b356810d3637b6510f971e
This commit is contained in:
@@ -122,6 +122,7 @@ void NzOpenGL::ApplyStates(const NzRenderStates& states)
|
|||||||
{
|
{
|
||||||
glBlendFunc(BlendFunc[states.srcBlend], BlendFunc[states.dstBlend]);
|
glBlendFunc(BlendFunc[states.srcBlend], BlendFunc[states.dstBlend]);
|
||||||
s_states.dstBlend = states.dstBlend;
|
s_states.dstBlend = states.dstBlend;
|
||||||
|
s_states.srcBlend = states.srcBlend;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s_states.depthFunc != states.depthFunc)
|
if (s_states.depthFunc != states.depthFunc)
|
||||||
|
|||||||
Reference in New Issue
Block a user