mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
sdlayer: don't snap the mouse in debug mode, redux..
git-svn-id: https://svn.eduke32.com/eduke32@2578 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b237c27c1f
commit
223cc81373
1 changed files with 2 additions and 2 deletions
|
@ -1832,9 +1832,9 @@ int32_t handleevents(void)
|
||||||
mousex += ev.motion.xrel;
|
mousex += ev.motion.xrel;
|
||||||
mousey += ev.motion.yrel;
|
mousey += ev.motion.yrel;
|
||||||
|
|
||||||
//#ifndef DEBUGGINGAIDS
|
#ifndef DEBUGGINGAIDS
|
||||||
SDL_WarpMouse(xdim>>1, ydim>>1);
|
SDL_WarpMouse(xdim>>1, ydim>>1);
|
||||||
//#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue