diff options
author | Chris Robinson <[email protected]> | 2014-09-03 15:40:15 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-09-03 15:40:15 -0700 |
commit | 5840f5e76f2b803589074de254f282a5844c77ee (patch) | |
tree | dd2c7418acfcd6b5c3cb86c3be925e83df229e88 /OpenAL32/Include | |
parent | ba827cdfffb386e00c9f96cb605980dafef304ae (diff) |
Make the buffer's pack and unpack properties atomic
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 557f2282..b67c7034 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -85,8 +85,8 @@ typedef struct ALbuffer { ALsizei LoopStart; ALsizei LoopEnd; - ALsizei UnpackAlign; - ALsizei PackAlign; + ATOMIC(ALsizei) UnpackAlign; + ATOMIC(ALsizei) PackAlign; /* Number of times buffer was attached to a source (deletion can only occur when 0) */ RefCount ref; |