diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-10-19 00:16:03 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-05 22:18:35 -0700 |
commit | 2dd65bbffb6f4c8e066232754a8e80b86925e6fd (patch) | |
tree | 558ca6c8e9a4d4e95cff1650ebeddeed7a4b2c73 /src | |
parent | b5f54a7bc2e8df4187e847d72a6fee2ffd6c5299 (diff) | |
download | mana-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')
-rw-r--r-- | src/gui/truetypefont.cpp | 2 |
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 { |