diff options
author | Chris Robinson <[email protected]> | 2009-10-20 11:54:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-10-20 11:54:04 -0700 |
commit | 93361118b7b8c1417e4a717d94818764fb5ffe9e (patch) | |
tree | ea3849494057e51400fe88d113114bfb5c9767c9 /OpenAL32/Include | |
parent | 50f963f6c67f9c4f2ec6caaad8edc1679e70b8b9 (diff) |
Store a device's contexts in a dynamic array
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 861019ef..f10744ed 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -247,8 +247,9 @@ struct ALCdevice_struct // Dry path buffer mix float DryBuffer[BUFFERSIZE][OUTPUTCHANNELS]; - // Context created on this device - ALCcontext *Context; + // Contexts created on this device + ALCcontext **Contexts; + ALuint NumContexts; BackendFuncs *Funcs; void *ExtraData; // For the backend's use |