mirror of https://github.com/OpenTTD/OpenTTD
Fix 195fd0dc60: Sprite cache must still be cleared when using bitmap fonts.
parent
93c6398810
commit
c2e4a8c9bf
|
@ -561,6 +561,7 @@ struct GameOptionsWindow : Window {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WID_GO_FONT_ZOOM_DROPDOWN:
|
case WID_GO_FONT_ZOOM_DROPDOWN:
|
||||||
|
GfxClearSpriteCache();
|
||||||
_font_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index);
|
_font_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index);
|
||||||
ClearFontCache();
|
ClearFontCache();
|
||||||
LoadStringWidthTable();
|
LoadStringWidthTable();
|
||||||
|
|
Loading…
Reference in New Issue