diff options
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 | ||||
-rw-r--r-- | OpenAL32/Include/alSource.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index ba39405e..a444610f 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -748,7 +748,7 @@ struct ALCcontext_struct volatile ALenum LastError; - volatile ALenum UpdateSources; + ATOMIC(ALenum) UpdateSources; volatile enum DistanceModel DistanceModel; volatile ALboolean SourceDistanceModel; diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index e362f096..4b2ffe0b 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -124,7 +124,7 @@ typedef struct ALsource { } Send[MAX_SENDS]; /** Source needs to update its mixing parameters. */ - volatile ALenum NeedsUpdate; + ATOMIC(ALenum) NeedsUpdate; /** Self ID */ ALuint id; |