From cb5931672c55e2a2b17b4e28d288b69cd7a10c46 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 7 Oct 2018 02:30:28 +0300 Subject: [PATCH] audio callback mix_channels() should use SDLCALL calling conventions. (from 2.0 branch commits fca02fccc6ab and fa081ec2940e) --- mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixer.c b/mixer.c index 0c1decd8..5173f9a5 100644 --- a/mixer.c +++ b/mixer.c @@ -284,7 +284,7 @@ static void *Mix_DoEffects(int chan, void *snd, int len) /* Mixing function */ -static void mix_channels(void *udata, Uint8 *stream, int len) +static void SDLCALL mix_channels(void *udata, Uint8 *stream, int len) { Uint8 *mix_input; int i, mixable, volume = SDL_MIX_MAXVOLUME;