summaryrefslogtreecommitdiff
path: root/src/gui/sdlfont.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-26 23:48:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-26 23:48:03 +0300
commitb4ec5a83cbb42213aef9874fb62bd0911ccbb5a0 (patch)
treebc1f59e385bc2629791868cc00a781ed37d493a7 /src/gui/sdlfont.h
parent9fe86d302838c62034c0bf6c74d8ca47722bd40b (diff)
downloadplus-b4ec5a83cbb42213aef9874fb62bd0911ccbb5a0.tar.gz
plus-b4ec5a83cbb42213aef9874fb62bd0911ccbb5a0.tar.bz2
plus-b4ec5a83cbb42213aef9874fb62bd0911ccbb5a0.tar.xz
plus-b4ec5a83cbb42213aef9874fb62bd0911ccbb5a0.zip
improve temp fix for alpha channel in cached strings in software renderer.
Diffstat (limited to 'src/gui/sdlfont.h')
-rw-r--r--src/gui/sdlfont.h3
1 files changed, 2 insertions, 1 deletions
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;