Do a proper exchange when setting a new state

This commit is contained in:
Chris Robinson
2011-08-29 13:29:37 -07:00
parent 72beb577b6
commit 950570b8c3
+1 -2
View File
@@ -642,8 +642,7 @@ AL_API ALvoid AL_APIENTRY alProcessUpdatesSOFT(void)
if(Source->lOffset != -1)
ApplyOffset(Source);
new_state = Source->new_state;
Source->new_state = AL_NONE;
new_state = Exchange_ALenum(&Source->new_state, AL_NONE);
if(new_state)
SetSourceState(Source, Context, new_state);
}