mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 08:57:30 +01:00
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();
|
||||
//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
Block a user