Fix Compile without with out of date SDL

This commit is contained in:
NepDisk authored and Alug committed 2024-08-19 11:55:49 +02:00
1 parent ac35961a15
commit f4535b6465
1 file changed
+2 -2
+2 -2
View File
@@ -2674,8 +2674,8 @@ void I_GamepadRumble(INT32 device_id, UINT16 low_strength, UINT16 high_strength,
{
#if !(SDL_VERSION_ATLEAST(2,0,14))
(void)device_id;
(void)left_strength;
(void)right_strength;
(void)low_strength;
(void)high_strength;
#else
I_Assert(device_id > 0); // Gamepad devices are always ID 1 or higher