aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-04-12 23:39:57 -0700
committerChris Robinson <[email protected]>2023-04-12 23:39:57 -0700
commitd9fed51aa6391debc31dbbca550f055c980afe70 (patch)
tree2ada69829d80b934b4afebdfc44f91ef2ab789d5 /al/source.cpp
parentd3875f333fb6abe2f39d82caca329414871ae53b (diff)
Make sure extension functions are properly aligned on 32-bit
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/al/source.cpp b/al/source.cpp
index cba33862..bdc7e878 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -3492,7 +3492,7 @@ START_API_FUNC
}
END_API_FUNC
-void AL_APIENTRY alSourcePlayAtTimeSOFT(ALuint source, ALint64SOFT start_time)
+FORCE_ALIGN void AL_APIENTRY alSourcePlayAtTimeSOFT(ALuint source, ALint64SOFT start_time)
START_API_FUNC
{
ContextRef context{GetContextRef()};
@@ -3544,7 +3544,8 @@ START_API_FUNC
}
END_API_FUNC
-void AL_APIENTRY alSourcePlayAtTimevSOFT(ALsizei n, const ALuint *sources, ALint64SOFT start_time)
+FORCE_ALIGN void AL_APIENTRY alSourcePlayAtTimevSOFT(ALsizei n, const ALuint *sources,
+ ALint64SOFT start_time)
START_API_FUNC
{
ContextRef context{GetContextRef()};