mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +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 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
|
||||
|
Loading…
Reference in New Issue
Block a user