Fixed condition (Thanks to Raakz)

Former-commit-id: 57b41719ccfea5d60ca4edb79da5b2f0548a56d5
This commit is contained in:
Lynix 2013-06-18 18:28:23 +02:00
parent a5fb0c804f
commit 274aa96037
1 changed files with 1 additions and 1 deletions

View File

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