mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-22 09:40:46 +00:00
Astyle
This commit is contained in:
parent
d16c2cc2da
commit
d430f6a1fd
2 changed files with 6 additions and 6 deletions
|
@ -366,10 +366,10 @@ bool GLimp_Init( glimpParms_t parms )
|
|||
{
|
||||
common->Printf( "Using GLEW %s\n", glewGetString( GLEW_VERSION ) );
|
||||
}
|
||||
|
||||
|
||||
#if defined(__APPLE__) && SDL_VERSION_ATLEAST(2, 0, 2)
|
||||
// SRS - On OSX enable SDL2 relative mouse mode warping to capture mouse properly if outside of window
|
||||
SDL_SetHintWithPriority( SDL_HINT_MOUSE_RELATIVE_MODE_WARP, "1", SDL_HINT_OVERRIDE );
|
||||
// SRS - On OSX enable SDL2 relative mouse mode warping to capture mouse properly if outside of window
|
||||
SDL_SetHintWithPriority( SDL_HINT_MOUSE_RELATIVE_MODE_WARP, "1", SDL_HINT_OVERRIDE );
|
||||
#endif
|
||||
|
||||
// DG: disable cursor, we have two cursors in menu (because mouse isn't grabbed in menu)
|
||||
|
|
|
@ -317,10 +317,10 @@ bool VKimp_Init( glimpParms_t parms )
|
|||
common->Printf( "No usable VK mode found: %s", SDL_GetError() );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
#if defined(__APPLE__) && SDL_VERSION_ATLEAST(2, 0, 2)
|
||||
// SRS - On OSX enable SDL2 relative mouse mode warping to capture mouse properly if outside of window
|
||||
SDL_SetHintWithPriority( SDL_HINT_MOUSE_RELATIVE_MODE_WARP, "1", SDL_HINT_OVERRIDE );
|
||||
// SRS - On OSX enable SDL2 relative mouse mode warping to capture mouse properly if outside of window
|
||||
SDL_SetHintWithPriority( SDL_HINT_MOUSE_RELATIVE_MODE_WARP, "1", SDL_HINT_OVERRIDE );
|
||||
#endif
|
||||
|
||||
// DG: disable cursor, we have two cursors in menu (because mouse isn't grabbed in menu)
|
||||
|
|
Loading…
Reference in a new issue