Fixed srcBlend not being updated

Former-commit-id: 84ae24fdc116c48b91b356810d3637b6510f971e
This commit is contained in:
Lynix
2013-06-18 18:31:30 +02:00
parent 274aa96037
commit 5886238e2e

View File

@@ -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)