Browse Source

Fix SDL < 2.0.6 builds

pull/3721/head
Anders Jenbo 4 years ago
parent
commit
901d9aa435
  1. 6
      Source/utils/display.cpp

6
Source/utils/display.cpp

@ -155,11 +155,13 @@ bool SpawnWindow(const char *lpWindowName)
scePowerSetArmClockFrequency(444);
#endif
#if SDL_VERSION_ATLEAST(2, 0, 6) && defined(__vita__)
#if SDL_VERSION_ATLEAST(2, 0, 6)
#ifdef __vita__
SDL_SetHint(SDL_HINT_TOUCH_MOUSE_EVENTS, "0");
#endif
SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "0");
#endif
SDL_SetHint(SDL_HINT_MOUSE_TOUCH_EVENTS, "0");
#if defined(_WIN32) && !defined(USE_SDL1)
// The default WASAPI backend causes distortions

Loading…
Cancel
Save