diff options
author | Chris Robinson <[email protected]> | 2013-11-25 17:29:39 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-11-25 17:29:39 -0800 |
commit | 80ea801204cec06b26ac8823747ad0981165822c (patch) | |
tree | 4ba696fe3fb56d042d779a994051112380e2229e /Alc/ALc.c | |
parent | 191e8172f0ed00f423f7806b3b52b95d1dab53cc (diff) |
Add a macro for GCC to ensure stack alignment
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |