aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-12-24 05:32:15 -0800
committerChris Robinson <[email protected]>2012-12-24 05:32:15 -0800
commitc2adea1999251b3346ba40d08c32ab7727d8dcf8 (patch)
tree0badcdcc8c92f0baae99dfce8b6cc30c33886bed
parent7d81d6b24ed5a76ee1016b124801e478fd729816 (diff)
Make the context's LastError volatile
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index ec44bdee..1110e89e 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -681,7 +681,7 @@ struct ALCcontext_struct
UIntMap SourceMap;
UIntMap EffectSlotMap;
- ALenum LastError;
+ volatile ALenum LastError;
volatile ALenum UpdateSources;