- removed useless call in SDL backend

Its result wasn't used, and it may invoke function of DDummyFrameBuffer during initial sound precaching
This commit is contained in:
alexey.lysiuk 2020-02-10 15:09:59 +02:00
parent 8374b9e1b4
commit 508b019447

View file

@ -237,7 +237,6 @@ static bool inGame()
static void I_CheckNativeMouse ()
{
bool focus = SDL_GetKeyboardFocus() != NULL;
bool fs = screen->IsFullscreen();
// TODO: We want this to check for demo playback, as well. And paused state
bool wantNative = !focus || (!use_mouse || GUICapture || !inGame());