1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Revert "Get rid of guiroot"

This reverts commit 45e7a80057.
This commit is contained in:
Desour 2023-08-22 19:21:02 +02:00 committed by DS
parent 7e4dccb3b5
commit f47b00426a
5 changed files with 18 additions and 12 deletions

View file

@ -53,8 +53,6 @@ GameUI::GameUI()
}
void GameUI::init()
{
IGUIElement *guiroot = guienv->getRootGUIElement();
// First line of debug text
m_guitext = gui::StaticText::add(guienv, utf8_to_wide(PROJECT_NAME_C).c_str(),
core::rect<s32>(0, 0, 0, 0), false, true, guiroot);