aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-03-14 00:13:16 -0700
committerChris Robinson <[email protected]>2012-03-14 00:13:16 -0700
commit767a5b3c7314b6c6b14c8a9869d0019186d52619 (patch)
treed19cb1edb90b25c35f5e85f6c6ff209b43131cb8 /Alc
parenta08080bd822fb6d5c5877bf0f39920849ada03fc (diff)
Mark the GlobalContext pointer as volatile
Diffstat (limited to 'Alc')
-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;