diff options
author | Chris Robinson <[email protected]> | 2019-06-29 21:32:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-06-29 21:32:36 -0700 |
commit | 7303e22d895e64fb24b257c3b65a1744ac4020ba (patch) | |
tree | ed53132a9170b0b8bb4a91d8a70e6b7616ac37d1 /OpenAL32 | |
parent | cbcee69ed14fb23db28bf36ef726a8d0f10d0a40 (diff) |
Use a FlexArray for a device's contexts
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 80167417..016cc535 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -461,7 +461,7 @@ struct ALCdevice { RefCount MixCount{0u}; // Contexts created on this device - std::atomic<ALCcontext*> ContextList{nullptr}; + std::atomic<al::FlexArray<ALCcontext*>*> mContexts{nullptr}; /* This lock protects the device state (format, update size, etc) from * being from being changed in multiple threads, or being accessed while |