Skip to content

Commit b389035

Browse files
committed
Fix for earlier versions of SDL
1 parent 947c045 commit b389035

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wi_stuff.c

+2
Original file line numberDiff line numberDiff line change
@@ -1562,5 +1562,7 @@ void WI_Start(wbstartstruct_t *wbstartstruct)
15621562

15631563
WI_InitStats();
15641564

1565+
#if SDL_VERSION_ATLEAST(2, 24, 0)
15651566
SDL_ResetKeyboard();
1567+
#endif
15661568
}

0 commit comments

Comments
 (0)