summaryrefslogtreecommitdiff
path: root/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene.cpp')
-rw-r--r--scene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene.cpp b/scene.cpp
index e371f74..f7db5c4 100644
--- a/scene.cpp
+++ b/scene.cpp
@@ -444,8 +444,8 @@ void Scene::render() {
float height = font->LineHeight();
glColor3f(1, 1, 1);
glTranslatef(0, video::height-height, 0);
- font->Render((boost::format("chunks: %d gravity: %d steps: %d")
- % terrain->chunks.size() % gravity % steps).str().c_str());
+ font->Render((boost::format("chunks: %d cache: %d gravity: %d steps: %d")
+ % terrain->chunks.size() % terrain->tc->get_size() % gravity % steps).str().c_str());
//font->Render((boost::format("%dx%d %d levels %d nodes tree creation time: %f steps: %d update: %d")
// % scene.qt->width % scene.qt->height % scene.qt->levels % scene.qt->nodes % scene.qt->init_time % steps % scene.qt->thread_running).str().c_str());
//glTranslatef(0, height, 0);