aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-03-20 21:25:39 -0700
committerChris Robinson <[email protected]>2017-03-20 21:25:39 -0700
commitcdfe0d8f5af871258f1f58493e9659148659cacb (patch)
tree61412add20d91a243c18d3c8e18213adfe18806e /OpenAL32/Include
parent42bcf0870d7f7358b4e1775d37e20e3b9162d249 (diff)
Use an atomic flag to test if a source needs to update
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h2
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;