diff options
author | Kahrl <kahrl@gmx.net> | 2013-06-24 04:17:50 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-07-02 03:03:10 +0200 |
commit | 8161ab573fd6f8a45b3986278ce7fc1596140526 (patch) | |
tree | 0aea4fce4e14e035b386ee773e8abd68bc51bea6 /src/guiFormSpecMenu.cpp | |
parent | caf0b67e47fd4c6b2a2bc61c36010e2adf9db388 (diff) | |
download | minetest-8161ab573fd6f8a45b3986278ce7fc1596140526.tar.gz minetest-8161ab573fd6f8a45b3986278ce7fc1596140526.tar.bz2 minetest-8161ab573fd6f8a45b3986278ce7fc1596140526.zip |
Remove texture atlas / AtlasPointer, rename getTextureRaw to getTexture
Diffstat (limited to 'src/guiFormSpecMenu.cpp')
-rw-r--r-- | src/guiFormSpecMenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp index c1b256f08..ee39df8b7 100644 --- a/src/guiFormSpecMenu.cpp +++ b/src/guiFormSpecMenu.cpp @@ -519,7 +519,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) if(type == "image_button_exit") spec.is_exit = true; - video::ITexture *texture = m_gamedef->tsrc()->getTextureRaw(fimage); + video::ITexture *texture = m_gamedef->tsrc()->getTexture(fimage); gui::IGUIButton *e = Environment->addButton(rect, this, spec.fid, spec.flabel.c_str()); e->setUseAlphaChannel(true); e->setImage(texture); @@ -805,7 +805,7 @@ void GUIFormSpecMenu::drawMenu() { const ImageDrawSpec &spec = m_backgrounds[i]; video::ITexture *texture = - m_gamedef->tsrc()->getTextureRaw(spec.name); + m_gamedef->tsrc()->getTexture(spec.name); // Image size on screen core::rect<s32> imgrect(0, 0, spec.geom.X, spec.geom.Y); // Image rectangle on screen @@ -825,7 +825,7 @@ void GUIFormSpecMenu::drawMenu() { const ImageDrawSpec &spec = m_images[i]; video::ITexture *texture = - m_gamedef->tsrc()->getTextureRaw(spec.name); + m_gamedef->tsrc()->getTexture(spec.name); // Image size on screen core::rect<s32> imgrect(0, 0, spec.geom.X, spec.geom.Y); // Image rectangle on screen |