From 739047f887e9fef53c89ecf76de8809e7ae6809f Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 22 Jan 2017 19:01:02 -0600 Subject: SCI32: Always reinit GfxText32 statics on game startup Fixes bad scaling of text when switching between games with different script resolutions. --- engines/sci/graphics/text32.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/sci/graphics/text32.h') diff --git a/engines/sci/graphics/text32.h b/engines/sci/graphics/text32.h index 722af34339..bfd5ebc606 100644 --- a/engines/sci/graphics/text32.h +++ b/engines/sci/graphics/text32.h @@ -152,6 +152,11 @@ private: public: GfxText32(SegManager *segMan, GfxCache *fonts); + /** + * Initialises static GfxText32 members. + */ + static void init(); + /** * The memory handle of the currently active bitmap. */ -- cgit v1.2.3