1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 17:39:09 +00:00

Change: Don't reinitialise font caches when setting initial interface scale.

This commit is contained in:
2024-05-26 19:41:57 +01:00
parent 692943669d
commit 1722714541
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