From: Chris Robinson Date: Mon, 24 Dec 2012 13:32:15 +0000 (-0800) Subject: Make the context's LastError volatile X-Git-Tag: openal-soft-1.16.0~801 X-Git-Url: https://repo.or.cz/w/openal-soft.git/commitdiff_plain/c2adea1999251b3346ba40d08c32ab7727d8dcf8 Make the context's LastError volatile --- 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;