diff options
author | Chris Robinson <[email protected]> | 2023-04-12 23:39:57 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-04-12 23:39:57 -0700 |
commit | d9fed51aa6391debc31dbbca550f055c980afe70 (patch) | |
tree | 2ada69829d80b934b4afebdfc44f91ef2ab789d5 /al | |
parent | d3875f333fb6abe2f39d82caca329414871ae53b (diff) |
Make sure extension functions are properly aligned on 32-bit
Diffstat (limited to 'al')
-rw-r--r-- | al/buffer.cpp | 4 | ||||
-rw-r--r-- | al/source.cpp | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp index ee506596..93484e7d 100644 --- a/al/buffer.cpp +++ b/al/buffer.cpp @@ -773,8 +773,8 @@ START_API_FUNC } END_API_FUNC -void AL_APIENTRY alBufferDataStatic(const ALuint buffer, ALenum format, ALvoid *data, ALsizei size, - ALsizei freq) +FORCE_ALIGN void AL_APIENTRY alBufferDataStatic(const ALuint buffer, ALenum format, ALvoid *data, + ALsizei size, ALsizei freq) START_API_FUNC { ContextRef context{GetContextRef()}; 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()}; |