aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alAuxEffectSlot.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-19 02:11:04 -0700
committerChris Robinson <[email protected]>2014-04-19 02:11:04 -0700
commit59fc9aac0ee41518dba0cbd2f1518decffeaa480 (patch)
treeac9793a8e3015e595b2f679b82b7f11e4472f717 /OpenAL32/Include/alAuxEffectSlot.h
parent8badd3740e1a2e13affb4553c69ca44b1649035b (diff)
Use C11 alignas when available
Diffstat (limited to 'OpenAL32/Include/alAuxEffectSlot.h')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index 264f8f73..75eb87ca 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -4,6 +4,8 @@
#include "alMain.h"
#include "alEffect.h"
+#include "align.h"
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -72,7 +74,7 @@ typedef struct ALeffectslot {
volatile ALenum NeedsUpdate;
ALeffectState *EffectState;
- ALIGN(16) ALfloat WetBuffer[1][BUFFERSIZE];
+ alignas(16) ALfloat WetBuffer[1][BUFFERSIZE];
RefCount ref;