Skip to content

Commit

Permalink
Don't IN_Restart() upon fullscreen toggle
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
slipher committed May 15, 2024
1 parent 9eced17 commit 6cdd7fb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/engine/sys/sdl_glimp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
}

Expand Down

0 comments on commit 6cdd7fb

Please sign in to comment.