Browse Source

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

pull/2/head
Alibek Omarov 3 years ago
parent
commit
25c0557f7f
  1. 1
      engine/platform/sdl/events.c

1
engine/platform/sdl/events.c

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

Loading…
Cancel
Save