Fix compilation with old sdl

This commit is contained in:
indev authored and Alug committed 2025-02-18 23:50:04 +01:00
1 parent 8a3d767c08
commit 63391d3763
1 file changed
+2 -2
+2 -2
View File
@@ -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;