From 6cdd7fb61f1ab6de63cc48610d4542cf00ea12f3 Mon Sep 17 00:00:00 2001 From: slipher Date: Mon, 13 May 2024 23:44:52 -0300 Subject: [PATCH] Don't IN_Restart() upon fullscreen toggle IN_Restart, via IN_Init, causes the mouse mode to be changed to System Cursor which isn't desirable. Meanwhile it doesn't seem to do anything useful at all. --- src/engine/sys/sdl_glimp.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/engine/sys/sdl_glimp.cpp b/src/engine/sys/sdl_glimp.cpp index 5f8833f483..07de1de5ad 100644 --- a/src/engine/sys/sdl_glimp.cpp +++ b/src/engine/sys/sdl_glimp.cpp @@ -2203,11 +2203,6 @@ void GLimp_HandleCvars() Log::Warn( "Trying vid_restart" ); Cmd::BufferCommandText("vid_restart"); } - else - { - // FIXME: probably don't need to reset the joystick to change fullscreen mode? - ri.IN_Restart(); - } } }