mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-22 03:46:55 +01:00
Change: Mark whole screen dirty when toggling font AA. (#11825)
This commit is contained in:
parent
4cc97e04e6
commit
7faa3848de
@ -584,7 +584,7 @@ struct GameOptionsWindow : Window {
|
|||||||
_fcsettings.global_aa = !_fcsettings.global_aa;
|
_fcsettings.global_aa = !_fcsettings.global_aa;
|
||||||
|
|
||||||
this->SetWidgetLoweredState(WID_GO_GUI_FONT_AA, _fcsettings.global_aa);
|
this->SetWidgetLoweredState(WID_GO_GUI_FONT_AA, _fcsettings.global_aa);
|
||||||
this->SetDirty();
|
MarkWholeScreenDirty();
|
||||||
|
|
||||||
ClearFontCache();
|
ClearFontCache();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user