forked from Mirrorlandia_minetest/minetest
draw gui later. this fixes the hotbar disappearing while rendering to texture.
This commit is contained in:
parent
870f7bcc93
commit
7d2f0d7b1b
11
src/game.cpp
11
src/game.cpp
@ -2958,11 +2958,6 @@ void the_game(
|
|||||||
//timer10.stop();
|
//timer10.stop();
|
||||||
//TimeTaker //timer11("//timer11");
|
//TimeTaker //timer11("//timer11");
|
||||||
|
|
||||||
/*
|
|
||||||
Draw gui
|
|
||||||
*/
|
|
||||||
// 0-1ms
|
|
||||||
guienv->drawAll();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Draw hotbar
|
Draw hotbar
|
||||||
@ -2988,6 +2983,12 @@ void the_game(
|
|||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Draw gui
|
||||||
|
*/
|
||||||
|
// 0-1ms
|
||||||
|
guienv->drawAll();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
End scene
|
End scene
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user