diff options
author | Chris Robinson <[email protected]> | 2011-08-29 00:03:09 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-29 00:03:09 -0700 |
commit | 01503f8a7bd99136445008eba5bed5af483a7aea (patch) | |
tree | e55833946185852b637e2073b8d8b3a431ff4c33 /OpenAL32/Include/alMain.h | |
parent | aa99e1220b72863ca137917d0c45033aad7cd67d (diff) |
Use an enum instead of an boolean for some flags
They still only hold AL_TRUE or AL_FALSE, but some systems can't properly
handle atomic swaps of 1-byte types.
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 75dd7ec8..641baf7c 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -514,7 +514,7 @@ struct ALCcontext_struct ALenum LastError; - ALboolean UpdateSources; + ALenum UpdateSources; enum DistanceModel DistanceModel; ALboolean SourceDistanceModel; @@ -522,7 +522,7 @@ struct ALCcontext_struct ALfloat DopplerFactor; ALfloat DopplerVelocity; ALfloat flSpeedOfSound; - ALboolean DeferUpdates; + ALenum DeferUpdates; struct ALsource **ActiveSources; ALsizei ActiveSourceCount; |