# HG changeset patch # User Adam Kaminski # Date 1633888503 14400 # Sun Oct 10 13:55:03 2021 -0400 # Node ID 99e6dc0f6679c331908b9f364599177ca1d50fec # Parent b5baa0b72f77bc2d8675507ed3824a87fe10cbd8 Fixed the virtual screen not being updated when the screen size was changed. diff -r b5baa0b72f77 -r 99e6dc0f6679 src/v_font.cpp --- a/src/v_font.cpp Sat Oct 09 17:15:44 2021 -0400 +++ b/src/v_font.cpp Sun Oct 10 13:55:03 2021 -0400 @@ -2695,9 +2695,6 @@ IntermissionFont = BigFont; } } - - // [AK] Now that the SmallFont is initialized, update the scaled text height. - C_UpdateVirtualScreen(); } void V_ClearFonts() diff -r b5baa0b72f77 -r 99e6dc0f6679 src/v_video.cpp --- a/src/v_video.cpp Sat Oct 09 17:15:44 2021 -0400 +++ b/src/v_video.cpp Sun Oct 10 13:55:03 2021 -0400 @@ -1389,6 +1389,9 @@ M_RefreshModesList (); + // [AK] Reset the virtual screen if the screen size changed. + C_UpdateVirtualScreen(); + // [TP] Inform the server of our new resolution. if ( NETWORK_GetState() == NETSTATE_CLIENT ) CLIENTCOMMANDS_SetVideoResolution();