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