summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürgen Doser <jurgen.doser@gmail.com>2012-12-06 17:33:11 +0100
committerPerttu Ahola <celeron55@gmail.com>2012-12-06 20:43:17 +0200
commit7d2f0d7b1b088813cb473cc4637cc19498ef8f23 (patch)
tree22fdc4e58f1095bf444021c245a72c999fedd4e3
parent870f7bcc932b7e9345a6bd5dfd233a9f5b6a8a10 (diff)
downloadminetest-7d2f0d7b1b088813cb473cc4637cc19498ef8f23.tar.gz
minetest-7d2f0d7b1b088813cb473cc4637cc19498ef8f23.tar.bz2
minetest-7d2f0d7b1b088813cb473cc4637cc19498ef8f23.zip
draw gui later. this fixes the hotbar disappearing while rendering to texture.
-rw-r--r--src/game.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 5c3805c3b..194658f1f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -2958,11 +2958,6 @@ void the_game(
//timer10.stop();
//TimeTaker //timer11("//timer11");
- /*
- Draw gui
- */
- // 0-1ms
- guienv->drawAll();
/*
Draw hotbar
@@ -2989,6 +2984,12 @@ void the_game(
}
/*
+ Draw gui
+ */
+ // 0-1ms
+ guienv->drawAll();
+
+ /*
End scene
*/
{