1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-15 16:32:41 +01:00

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

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

View File

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

View File

@@ -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