From 87b21ba61d7a8c322d658bd6b8d9f75b9e711263 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Sep 2013 14:18:43 +0300 Subject: load fonts in separate function. --- src/gui/sdlfont.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/sdlfont.h') diff --git a/src/gui/sdlfont.h b/src/gui/sdlfont.h index 8bab3e3f1..eedc4c6e0 100644 --- a/src/gui/sdlfont.h +++ b/src/gui/sdlfont.h @@ -149,6 +149,8 @@ class SDLFont final : public gcn::Font static bool mSoftMode; private: + static TTF_Font *openFont(const char *const name, const int size); + TTF_Font *mFont; unsigned mCreateCounter; unsigned mDeleteCounter; -- cgit v1.2.3-60-g2f50