mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
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:
parent
94246b5dd1
commit
e5c6cc2238
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue