From 7d2f0d7b1b088813cb473cc4637cc19498ef8f23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Doser?= Date: Thu, 6 Dec 2012 17:33:11 +0100 Subject: [PATCH] draw gui later. this fixes the hotbar disappearing while rendering to texture. --- src/game.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index 5c3805c3..194658f1 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 @@ -2988,6 +2983,12 @@ void the_game( NULL); } + /* + Draw gui + */ + // 0-1ms + guienv->drawAll(); + /* End scene */ -- 2.30.2