diff options
author | Chris Robinson <[email protected]> | 2011-08-31 00:19:27 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-31 00:19:27 -0700 |
commit | 23f576360c3abc6e4ce0d27c2361715e7169baeb (patch) | |
tree | 798a2b84227161f3bb22b220a2ceda5acaf3e807 /OpenAL32/Include/alMain.h | |
parent | d7bd9c7559b9dec79bb5552d75326b685a6a64f5 (diff) |
Avoid locking the context while getting and setting global state
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index faac3029..1e4d3d61 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -595,17 +595,17 @@ struct ALCcontext_struct UIntMap SourceMap; UIntMap EffectSlotMap; - ALenum LastError; + ALenum LastError; - ALenum UpdateSources; + volatile ALenum UpdateSources; - enum DistanceModel DistanceModel; - ALboolean SourceDistanceModel; + volatile enum DistanceModel DistanceModel; + volatile ALboolean SourceDistanceModel; - ALfloat DopplerFactor; - ALfloat DopplerVelocity; - ALfloat flSpeedOfSound; - volatile ALenum DeferUpdates; + volatile ALfloat DopplerFactor; + volatile ALfloat DopplerVelocity; + volatile ALfloat flSpeedOfSound; + volatile ALenum DeferUpdates; struct ALsource **ActiveSources; ALsizei ActiveSourceCount; |