engine: platform: sdl: fix building with SDL1.2

This commit is contained in:
Alibek Omarov 2021-11-27 05:26:09 +03:00
parent 76ea3c39a0
commit 25c0557f7f
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ GNU General Public License for more details.
#define SDL_SCANCODE_PRINTSCREEN SDLK_PRINT
#define SDL_SCANCODE_UNKNOWN SDLK_UNKNOWN
#define SDL_GetScancodeName( x ) "unknown"
#define SDL_JoystickID Uint8
#endif
static qboolean SDLash_IsInstanceIDAGameController( SDL_JoystickID joyId )