summaryrefslogtreecommitdiff
path: root/src/profiler.h
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2014-12-07 21:01:42 +1000
committerCraig Robbins <kde.psych@gmail.com>2014-12-08 00:01:22 +1000
commit5c55738276bb6875c3f2d4702b7fd08c45e8a29c (patch)
treeda0560d6de6c4a0602024d4ed6279596fdaf99ae /src/profiler.h
parentbc2b8e9eefdb90295676881212bffe2852e01784 (diff)
downloadminetest-5c55738276bb6875c3f2d4702b7fd08c45e8a29c.tar.gz
minetest-5c55738276bb6875c3f2d4702b7fd08c45e8a29c.tar.bz2
minetest-5c55738276bb6875c3f2d4702b7fd08c45e8a29c.zip
Fix f6 debug/profiler display
After fonts were re-engineered the height of the f6 debug/profiler display would only display about 2-3 lines of text.
Diffstat (limited to 'src/profiler.h')
-rw-r--r--src/profiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profiler.h b/src/profiler.h
index 25d89c6c8..5816f05ca 100644
--- a/src/profiler.h
+++ b/src/profiler.h
@@ -30,6 +30,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "util/numeric.h" // paging()
#include "debug.h" // assert()
+#define MAX_PROFILER_TEXT_ROWS 20
+
/*
Time profiler
*/