sdlayer.cpp: remove unnecessary call to SDL_WarpMouseInWindow() on SDL2 that was causing issues with mouse movement when vsync was enabled on some hardware

git-svn-id: https://svn.eduke32.com/eduke32@6683 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
pogokeen 2018-02-22 03:38:54 +00:00
parent 94246b5dd1
commit e5c6cc2238

View file

@ -1997,8 +1997,6 @@ int32_t handleevents_sdlcommon(SDL_Event *ev)
mousey += ev->motion.yrel;
# if SDL_MAJOR_VERSION==1
SDL_WarpMouse(xdim>>1, ydim>>1);
# else
SDL_WarpMouseInWindow(sdl_window, xdim>>1, ydim>>1);
# endif
}
}