mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
draw gui later. this fixes the hotbar disappearing while rendering to texture.
This commit is contained in:
parent
870f7bcc93
commit
7d2f0d7b1b
1 changed files with 6 additions and 5 deletions
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…
Add table
Add a link
Reference in a new issue