summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-10-19 00:16:03 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-10-19 00:16:03 +0000
commit483c76d1b2433bc34f67406a10bf409fb2daafe1 (patch)
treede320cd5a189d37cdb6089ff2bda3948f197542f /src
parent677e019013c8500c6dd6198d370178fc982a7a22 (diff)
downloadmana-client-483c76d1b2433bc34f67406a10bf409fb2daafe1.tar.gz
mana-client-483c76d1b2433bc34f67406a10bf409fb2daafe1.tar.bz2
mana-client-483c76d1b2433bc34f67406a10bf409fb2daafe1.tar.xz
mana-client-483c76d1b2433bc34f67406a10bf409fb2daafe1.zip
Increased text chunk cache size to improve performance when a lot of text is on the screen.
Diffstat (limited to 'src')
-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 bba268c7..4f17b135 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
{