Do a proper exchange when setting a new state
This commit is contained in:
parent
72beb577b6
commit
950570b8c3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user