From 391a88c5d98a3853db2b6a06a6c01c8980d50b70 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Fri, 19 Oct 2007 00:16:03 +0000 Subject: Increased text chunk cache size to improve performance when a lot of text is on the screen. (cherry picked from mainline commit 483c76d1b2433bc34f67406a10bf409fb2daafe1) --- src/gui/truetypefont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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 { -- cgit v1.2.3-60-g2f50