diff options
author | Chris Robinson <[email protected]> | 2012-03-14 00:13:16 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-14 00:13:16 -0700 |
commit | 767a5b3c7314b6c6b14c8a9869d0019186d52619 (patch) | |
tree | d19cb1edb90b25c35f5e85f6c6ff209b43131cb8 /Alc | |
parent | a08080bd822fb6d5c5877bf0f39920849ada03fc (diff) |
Mark the GlobalContext pointer as volatile
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |