diff options
Diffstat (limited to 'OpenAL32/alState.c')
-rw-r--r-- | OpenAL32/alState.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c index a65eaa82..841f6f31 100644 --- a/OpenAL32/alState.c +++ b/OpenAL32/alState.c @@ -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); } |