# HG changeset patch # User Peter Nelson # Date 2024-01-17 23:04:07 # Node ID 33497dc56e8b84f4d004bad0eb1ee4450090770d # Parent 0cf4ddc7b995cee2c514255555f939a5917f8153 Change: Mark whole screen dirty when toggling font AA. (#11825) diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -584,7 +584,7 @@ struct GameOptionsWindow : Window { _fcsettings.global_aa = !_fcsettings.global_aa; this->SetWidgetLoweredState(WID_GO_GUI_FONT_AA, _fcsettings.global_aa); - this->SetDirty(); + MarkWholeScreenDirty(); ClearFontCache(); break;