summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-10-19 00:16:03 +0000
committerIra Rice <irarice@gmail.com>2009-01-05 22:18:35 -0700
commit2dd65bbffb6f4c8e066232754a8e80b86925e6fd (patch)
tree558ca6c8e9a4d4e95cff1650ebeddeed7a4b2c73 /src/gui
parentb5f54a7bc2e8df4187e847d72a6fee2ffd6c5299 (diff)
downloadmana-client-2dd65bbffb6f4c8e066232754a8e80b86925e6fd.tar.gz
mana-client-2dd65bbffb6f4c8e066232754a8e80b86925e6fd.tar.bz2
mana-client-2dd65bbffb6f4c8e066232754a8e80b86925e6fd.tar.xz
mana-client-2dd65bbffb6f4c8e066232754a8e80b86925e6fd.zip
Increased text chunk cache size to improve performance when a lot of text is on the screen.
(cherry picked from mainline commit 483c76d1b2433bc34f67406a10bf409fb2daafe1)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/truetypefont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/truetypefont.cpp b/src/gui/truetypefont.cpp
index 5576eaab..7f9abd3a 100644
--- a/src/gui/truetypefont.cpp
+++ b/src/gui/truetypefont.cpp
@@ -30,7 +30,7 @@
#include "../graphics.h"
#include "../resources/image.h"
-#define CACHE_SIZE 30
+#define CACHE_SIZE 256
class TextChunk
{