draw gui later. this fixes the hotbar disappearing while rendering to texture.
parent
870f7bcc93
commit
7d2f0d7b1b
11
src/game.cpp
11
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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue