Make the context's LastError volatile
authorChris Robinson <chris.kcat@gmail.com>
Mon, 24 Dec 2012 13:32:15 +0000 (24 05:32 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Mon, 24 Dec 2012 13:32:15 +0000 (24 05:32 -0800)
OpenAL32/Include/alMain.h

index ec44bde..1110e89 100644 (file)
@@ -681,7 +681,7 @@ struct ALCcontext_struct
     UIntMap SourceMap;
     UIntMap EffectSlotMap;
 
-    ALenum LastError;
+    volatile ALenum LastError;
 
     volatile ALenum UpdateSources;