aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-11-25 17:29:39 -0800
committerChris Robinson <[email protected]>2013-11-25 17:29:39 -0800
commit80ea801204cec06b26ac8823747ad0981165822c (patch)
tree4ba696fe3fb56d042d779a994051112380e2229e /Alc/ALc.c
parent191e8172f0ed00f423f7806b3b52b95d1dab53cc (diff)
Add a macro for GCC to ensure stack alignment
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 2effb854..a4e2e95e 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -3383,7 +3383,7 @@ ALC_API ALCboolean ALC_APIENTRY alcIsRenderFormatSupportedSOFT(ALCdevice *device
* Renders some samples into a buffer, using the format last set by the
* attributes given to alcCreateContext.
*/
-ALC_API void ALC_APIENTRY alcRenderSamplesSOFT(ALCdevice *device, ALCvoid *buffer, ALCsizei samples)
+FORCE_ALIGN ALC_API void ALC_APIENTRY alcRenderSamplesSOFT(ALCdevice *device, ALCvoid *buffer, ALCsizei samples)
{
if(!(device=VerifyDevice(device)) || device->Type != Loopback)
alcSetError(device, ALC_INVALID_DEVICE);