1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Better texture handling. Textures are not added to atlas if they are big, and atlas is not further made after it is full.

This commit is contained in:
Perttu Ahola 2011-02-17 19:07:14 +02:00
parent fb5ae9a7a5
commit 3264ac4390
4 changed files with 159 additions and 32 deletions

View file

@ -1852,7 +1852,7 @@ int main(int argc, char *argv[])
// Object infos are shown in this
gui::IGUIStaticText *guitext_info = guienv->addStaticText(
L"",
core::rect<s32>(100, 70, 100+400, 70+(text_height+5)),
core::rect<s32>(0,0,400,text_height+5) + v2s32(100,200),
false, false);
// Chat text