From 63391d3763bd1fed5766d469504a08dddd720d96 Mon Sep 17 00:00:00 2001 From: Indev Date: Tue, 18 Feb 2025 12:29:47 +0300 Subject: [PATCH] Fix compilation with old sdl --- src/sdl/i_system.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index 931de4b8f..7c573229b 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -1498,7 +1498,7 @@ const char *I_GetJoyName(INT32 joyindex) void I_GamepadRumble(INT32 playernum, UINT16 low_strength, UINT16 high_strength, UINT32 duration) { #if !(SDL_VERSION_ATLEAST(2,0,14)) - (void)device_id; + (void)playernum; (void)low_strength; (void)high_strength; (void)duration; @@ -1516,7 +1516,7 @@ void I_GamepadRumble(INT32 playernum, UINT16 low_strength, UINT16 high_strength, void I_SetGamepadIndicatorColor(INT32 playernum, UINT8 red, UINT8 green, UINT8 blue) { #if !(SDL_VERSION_ATLEAST(2,0,14)) - (void)device_id; + (void)playernum; (void)red; (void)green; (void)blue;