From 93361118b7b8c1417e4a717d94818764fb5ffe9e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 20 Oct 2009 11:54:04 -0700 Subject: Store a device's contexts in a dynamic array --- OpenAL32/Include/alMain.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenAL32/Include/alMain.h') 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 -- cgit v1.2.3