From b4ec5a83cbb42213aef9874fb62bd0911ccbb5a0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 26 May 2013 23:48:03 +0300 Subject: improve temp fix for alpha channel in cached strings in software renderer. --- src/gui/sdlfont.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/sdlfont.h') diff --git a/src/gui/sdlfont.h b/src/gui/sdlfont.h index 52d617518..30b4d2fa4 100644 --- a/src/gui/sdlfont.h +++ b/src/gui/sdlfont.h @@ -151,11 +151,12 @@ class SDLFont final : public gcn::Font int getDeleteCounter() const A_WARN_UNUSED { return mDeleteCounter; } + static bool mOpengl; + private: TTF_Font *mFont; unsigned mCreateCounter; unsigned mDeleteCounter; - bool mOpengl; // Word surfaces cache int mCleanTime; -- cgit v1.2.3-70-g09d2