mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
This commit is contained in:
committed by
Peter Nelson
parent
ba874b69e6
commit
ebec0b37a1
@@ -1817,6 +1817,8 @@ void UpdateGUIZoom()
|
||||
*/
|
||||
bool AdjustGUIZoom(bool automatic)
|
||||
{
|
||||
if (VideoDriver::GetInstance() == nullptr) return false;
|
||||
|
||||
ZoomLevel old_gui_zoom = _gui_zoom;
|
||||
ZoomLevel old_font_zoom = _font_zoom;
|
||||
int old_scale = _gui_scale;
|
||||
|
||||
Reference in New Issue
Block a user