mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-25 22:10:59 +00:00
Whitespace
This commit is contained in:
parent
50e1bf16fe
commit
b33c895d56
1 changed files with 3 additions and 3 deletions
|
@ -565,10 +565,10 @@ IN_MLookUp(void)
|
||||||
void
|
void
|
||||||
IN_KeyboardInit(Key_Event_fp_t fp)
|
IN_KeyboardInit(Key_Event_fp_t fp)
|
||||||
{
|
{
|
||||||
Key_Event_fp = fp;
|
Key_Event_fp = fp;
|
||||||
|
|
||||||
/* SDL stuff. Moved here from IN_BackendInit because
|
/* SDL stuff. Moved here from IN_BackendInit because
|
||||||
* this must be done after video is initialized. */
|
this must be done after video is initialized. */
|
||||||
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
||||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||||
have_grab = GLimp_InputIsGrabbed();
|
have_grab = GLimp_InputIsGrabbed();
|
||||||
|
@ -576,7 +576,7 @@ IN_KeyboardInit(Key_Event_fp_t fp)
|
||||||
SDL_EnableUNICODE(0);
|
SDL_EnableUNICODE(0);
|
||||||
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
|
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
|
||||||
have_grab = (SDL_WM_GrabInput(SDL_GRAB_QUERY) == SDL_GRAB_ON);
|
have_grab = (SDL_WM_GrabInput(SDL_GRAB_QUERY) == SDL_GRAB_ON);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue