From 1af9903439f2aad5ecaeae4398f5ffe1c5466251 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 60d0b4cce..353fd0f82 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -1488,7 +1488,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; @@ -1506,7 +1506,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;