diff options
author | Chris Robinson <[email protected]> | 2014-08-01 02:04:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-08-01 02:04:40 -0700 |
commit | 87423f046e378ec5c126cacb808dbc600481dcbd (patch) | |
tree | 2d735f719149dd2b00e9bebc45078cbde5907f84 /OpenAL32 | |
parent | 15a58eb38375247b6c57a7ceab5aa74895d638cd (diff) |
Use atomics for the device and context list heads
Diffstat (limited to 'OpenAL32')
-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 623968d0..5a85421f 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -694,11 +694,11 @@ struct ALCdevice_struct struct ALeffectslot *DefaultSlot; // Contexts created on this device - ALCcontext *volatile ContextList; + ATOMIC(ALCcontext*) ContextList; struct ALCbackend *Backend; - void *ExtraData; // For the backend's use + void *ExtraData; // For the backend's use ALCdevice *volatile next; |