mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Don't warp mouse if DEBUGGINGAIDS is enabled; this'll make us ignore events if
they happen to exactly go the the center of the screen, but not that big of a deal. git-svn-id: https://svn.eduke32.com/eduke32@1847 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
bdc993bb3c
commit
9a51ea8b95
1 changed files with 2 additions and 0 deletions
|
@ -1774,7 +1774,9 @@ int32_t handleevents(void)
|
|||
mousex += ev.motion.xrel;
|
||||
mousey += ev.motion.yrel;
|
||||
|
||||
#ifndef DEBUGGINGAIDS
|
||||
SDL_WarpMouse(xdim>>1, ydim>>1);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue