summaryrefslogtreecommitdiff
path: root/src/gui/truetypefont.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-10-19 00:16:03 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-29 15:50:48 +0100
commit391a88c5d98a3853db2b6a06a6c01c8980d50b70 (patch)
tree6cf0dc2c09905bb18f665965581ee22dc7f9545f /src/gui/truetypefont.cpp
parent34d64be77d940218babbcbaaeac8b22405793af2 (diff)
downloadmana-391a88c5d98a3853db2b6a06a6c01c8980d50b70.tar.gz
mana-391a88c5d98a3853db2b6a06a6c01c8980d50b70.tar.bz2
mana-391a88c5d98a3853db2b6a06a6c01c8980d50b70.tar.xz
mana-391a88c5d98a3853db2b6a06a6c01c8980d50b70.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/truetypefont.cpp')
-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
{