From b470c9af28752a1f360bf8c459ffd8fdcca3e6fb Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Wed, 28 Mar 2012 19:17:53 +0200 Subject: BASE: Free TTFLibrary singleton on shutdown. This uses a helper function because TTFLibrary is internal. --- graphics/fonts/ttf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics/fonts/ttf.h') diff --git a/graphics/fonts/ttf.h b/graphics/fonts/ttf.h index 7222d6e112..ec7dbe04ef 100644 --- a/graphics/fonts/ttf.h +++ b/graphics/fonts/ttf.h @@ -34,6 +34,8 @@ namespace Graphics { class Font; Font *loadTTFFont(Common::SeekableReadStream &stream, int size, bool monochrome = false, const uint32 *mapping = 0); +void shutdownTTF(); + } // End of namespace Graphics #endif -- cgit v1.2.3