From c2adea1999251b3346ba40d08c32ab7727d8dcf8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 24 Dec 2012 05:32:15 -0800 Subject: Make the context's LastError volatile --- OpenAL32/Include/alMain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/Include') 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; -- cgit v1.2.3