From 23f576360c3abc6e4ce0d27c2361715e7169baeb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 31 Aug 2011 00:19:27 -0700 Subject: Avoid locking the context while getting and setting global state --- OpenAL32/Include/alMain.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'OpenAL32/Include') 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; -- cgit v1.2.3