mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 14:58:22 +00:00
Change: Don't reinitialise font caches when setting initial interface scale. (#12722)
This commit is contained in:
parent
692943669d
commit
4b81b62b72
@ -79,6 +79,7 @@ void ChangeGameSpeed(bool enable_fast_forward);
|
|||||||
void DrawMouseCursor();
|
void DrawMouseCursor();
|
||||||
void ScreenSizeChanged();
|
void ScreenSizeChanged();
|
||||||
void GameSizeChanged();
|
void GameSizeChanged();
|
||||||
|
void UpdateGUIZoom();
|
||||||
bool AdjustGUIZoom(bool automatic);
|
bool AdjustGUIZoom(bool automatic);
|
||||||
void UndrawMouseCursor();
|
void UndrawMouseCursor();
|
||||||
|
|
||||||
|
@ -757,7 +757,7 @@ int openttd_main(std::span<char * const> arguments)
|
|||||||
_screen.zoom = ZOOM_LVL_MIN;
|
_screen.zoom = ZOOM_LVL_MIN;
|
||||||
|
|
||||||
/* The video driver is now selected, now initialise GUI zoom */
|
/* The video driver is now selected, now initialise GUI zoom */
|
||||||
AdjustGUIZoom(false);
|
UpdateGUIZoom();
|
||||||
|
|
||||||
SocialIntegration::Initialize();
|
SocialIntegration::Initialize();
|
||||||
NetworkStartUp(); // initialize network-core
|
NetworkStartUp(); // initialize network-core
|
||||||
|
Loading…
Reference in New Issue
Block a user