summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-10 05:19:08 -0700
committerChris Robinson <[email protected]>2011-09-10 05:19:08 -0700
commitb9448a476e7e4f7e3077265fd894190f6c836c59 (patch)
treeb1ce2e714991af03601a67ea95bef4c564a10c81 /OpenAL32/Include
parent238a74741442abb9dbc8144cf2da298eecf45461 (diff)
Avoid holding the list lock when not needed
Diffstat (limited to 'OpenAL32/Include')
-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 4e31579f..7c042b55 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -529,7 +529,7 @@ struct ALCdevice_struct
ALCchar *szDeviceName;
- ALCenum LastError;
+ volatile ALCenum LastError;
// Maximum number of sources that can be created
ALuint MaxNoOfSources;