summaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 7c042b55..ddc3857f 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -569,8 +569,7 @@ struct ALCdevice_struct
ALfloat PendingClicks[MAXCHANNELS];
// Contexts created on this device
- ALCcontext *ContextList;
- ALuint NumContexts;
+ ALCcontext *volatile ContextList;
BackendFuncs *Funcs;
void *ExtraData; // For the backend's use
@@ -633,7 +632,7 @@ struct ALCcontext_struct
ALCdevice *Device;
const ALCchar *ExtensionList;
- ALCcontext *next;
+ ALCcontext *volatile next;
};
void ALCcontext_IncRef(ALCcontext *context);