From 4a5dd73a3cd38c20b4b2ca45026167eb5ce0bc95 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 29 Aug 2011 13:43:59 -0700 Subject: Make the source's NeedsUpdate volatile --- OpenAL32/Include/alSource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/Include/alSource.h') diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index f76cd2c1..5f2ba610 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -119,7 +119,7 @@ typedef struct ALsource ALfloat history[MAXCHANNELS]; } Send[MAX_SENDS]; } Params; - ALenum NeedsUpdate; + volatile ALenum NeedsUpdate; ALvoid (*Update)(struct ALsource *self, const ALCcontext *context); -- cgit v1.2.3