Fixed condition (Thanks to Raakz)
Former-commit-id: 57b41719ccfea5d60ca4edb79da5b2f0548a56d5
This commit is contained in:
@@ -118,7 +118,7 @@ namespace
|
||||
|
||||
void NzOpenGL::ApplyStates(const NzRenderStates& states)
|
||||
{
|
||||
if (states.dstBlend != states.dstBlend || s_states.srcBlend != states.srcBlend)
|
||||
if (s_states.dstBlend != states.dstBlend || s_states.srcBlend != states.srcBlend)
|
||||
{
|
||||
glBlendFunc(BlendFunc[states.srcBlend], BlendFunc[states.dstBlend]);
|
||||
s_states.dstBlend = states.dstBlend;
|
||||
|
||||
Reference in New Issue
Block a user