diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-09 22:03:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-10 03:07:44 +0300 |
commit | f75a1e7af1db4be56430765e19a5aee75284dd3e (patch) | |
tree | 621a4a764758d8ff36aaebd58f5534e00cc64bce /src/gui/gui.cpp | |
parent | a89e756f00adb4e20be74590b624b3fd632c8a95 (diff) | |
download | mv-f75a1e7af1db4be56430765e19a5aee75284dd3e.tar.gz mv-f75a1e7af1db4be56430765e19a5aee75284dd3e.tar.bz2 mv-f75a1e7af1db4be56430765e19a5aee75284dd3e.tar.xz mv-f75a1e7af1db4be56430765e19a5aee75284dd3e.zip |
Improve font cache cleaning.
Add missing font cache cleaning code.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 3a459b55f..3a5964924 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -296,15 +296,17 @@ void Gui::slowLogic() mMouseCursorAlpha = std::max(0.0f, mMouseCursorAlpha - 0.005f); } if (mGuiFont) - mGuiFont->slowLogic(); + mGuiFont->slowLogic(0); if (mInfoParticleFont) - mInfoParticleFont->slowLogic(); + mInfoParticleFont->slowLogic(1); if (mHelpFont) - mHelpFont->slowLogic(); + mHelpFont->slowLogic(2); if (mSecureFont) - mSecureFont->slowLogic(); + mSecureFont->slowLogic(3); if (boldFont) - boldFont->slowLogic(); + boldFont->slowLogic(4); + if (mNpcFont) + mNpcFont->slowLogic(5); BLOCK_END("Gui::slowLogic") } |