aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 001ab4a6..4283a251 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -364,7 +364,7 @@ static ALCdevice *volatile DeviceList = NULL;
// Thread-local current context
static pthread_key_t LocalContext;
// Process-wide current context
-static ALCcontext *GlobalContext;
+static ALCcontext *volatile GlobalContext = NULL;
/* Device Error */
static volatile ALCenum g_eLastNullDeviceError = ALC_NO_ERROR;