Do a proper exchange when setting a new state
This commit is contained in:
+1
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user