Skip to content

Commit

Permalink
Fix for earlier versions of SDL
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Oct 13, 2024
1 parent 947c045 commit b389035
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wi_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1562,5 +1562,7 @@ void WI_Start(wbstartstruct_t *wbstartstruct)

WI_InitStats();

#if SDL_VERSION_ATLEAST(2, 24, 0)
SDL_ResetKeyboard();
#endif
}

0 comments on commit b389035

Please sign in to comment.