aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-12 03:57:53 -0700
committerChris Robinson <[email protected]>2011-09-12 03:57:53 -0700
commit145bc6da6b836607c509204e3653688e97eb482c (patch)
tree7eb64afa1638e563c026c8eea5d35a1c8829ccc8 /OpenAL32
parent69b10e2d7c4817bca90b175b2d43609ff97686a9 (diff)
Be a bit more robust while handling the global device list
Diffstat (limited to 'OpenAL32')
-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 f624cc09..5b770691 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -574,7 +574,7 @@ struct ALCdevice_struct
BackendFuncs *Funcs;
void *ExtraData; // For the backend's use
- ALCdevice *next;
+ ALCdevice *volatile next;
};
#define ALCdevice_OpenPlayback(a,b) ((a)->Funcs->OpenPlayback((a), (b)))