summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-24 01:31:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-24 01:31:56 +0300
commitcf3ee45291930bec0b10d9bd4b5b525e6e2b395d (patch)
tree94029272567bcd076cfc8d17d0151c5ba2dd36c6 /src
parent0afe8cacab876c9c95ad551468f5d6c41eb8720d (diff)
downloadplus-cf3ee45291930bec0b10d9bd4b5b525e6e2b395d.tar.gz
plus-cf3ee45291930bec0b10d9bd4b5b525e6e2b395d.tar.bz2
plus-cf3ee45291930bec0b10d9bd4b5b525e6e2b395d.tar.xz
plus-cf3ee45291930bec0b10d9bd4b5b525e6e2b395d.zip
add to font perfomance test also cache auto cleanup.
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 9dd4267fe..065983a01 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1090,6 +1090,8 @@ impHandler0(testsdlfont)
}
FOR_EACH (std::vector<std::string>::const_iterator, it, data)
font->drawString(nullGraphics, *it, 10, 10);
+
+ font->doClean();
}
clock_gettime(CLOCK_MONOTONIC, &time2);