Commit 1a79d820 authored by Richard Gobeille's avatar Richard Gobeille

engine: only bypass SDL_SetWindowGrab() for SDL 2.0.12 and lower

parent b2a8d74e
......@@ -1199,7 +1199,7 @@ void mouseUninit(void)
// furthermore return 0 if successful.
//
#ifdef _WIN32
#if defined _WIN32 && SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL < 13
// bypass SDL_SetWindowGrab--see https://bugzilla.libsdl.org/show_bug.cgi?id=4748
static void SetWindowGrab(SDL_Window *pWindow, int const clipToWindow)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment