diff options
author | Chris Robinson <[email protected]> | 2017-03-20 21:25:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-20 21:25:39 -0700 |
commit | cdfe0d8f5af871258f1f58493e9659148659cacb (patch) | |
tree | 61412add20d91a243c18d3c8e18213adfe18806e /OpenAL32/Include | |
parent | 42bcf0870d7f7358b4e1775d37e20e3b9162d249 (diff) |
Use an atomic flag to test if a source needs to update
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alSource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 284d5cbe..5b1e2547 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -149,7 +149,7 @@ typedef struct ALsource { ATOMIC(ALboolean) looping; - ALenum NeedsUpdate; + ATOMIC_FLAG PropsClean; ATOMIC(struct ALsourceProps*) Update; ATOMIC(struct ALsourceProps*) FreeList; |