1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 01:29:10 +00:00

Change: Don't reinitialise font caches when setting initial interface scale. (#12722)

This commit is contained in:
2024-05-27 12:44:34 +01:00
committed by GitHub
parent 692943669d
commit 4b81b62b72
2 changed files with 2 additions and 1 deletions

@@ -79,6 +79,7 @@ void ChangeGameSpeed(bool enable_fast_forward);
void DrawMouseCursor();
void ScreenSizeChanged();
void GameSizeChanged();
void UpdateGUIZoom();
bool AdjustGUIZoom(bool automatic);
void UndrawMouseCursor();

@@ -757,7 +757,7 @@ int openttd_main(std::span<char * const> arguments)
_screen.zoom = ZOOM_LVL_MIN;
/* The video driver is now selected, now initialise GUI zoom */
AdjustGUIZoom(false);
UpdateGUIZoom();
SocialIntegration::Initialize();
NetworkStartUp(); // initialize network-core