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/content_cso.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/content_cso.cpp')
-rw-r--r-- | src/content_cso.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cso.cpp b/src/content_cso.cpp index 73d5f2b48..4f652a8a3 100644 --- a/src/content_cso.cpp +++ b/src/content_cso.cpp @@ -50,7 +50,7 @@ public: m_spritenode = smgr->addBillboardSceneNode( NULL, v2f(1,1), pos, -1); m_spritenode->setMaterialTexture(0, - env->getGameDef()->tsrc()->getTextureRaw("smoke_puff.png")); + env->getGameDef()->tsrc()->getTexture("smoke_puff.png")); m_spritenode->setMaterialFlag(video::EMF_LIGHTING, false); m_spritenode->setMaterialFlag(video::EMF_BILINEAR_FILTER, false); //m_spritenode->setMaterialType(video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF); |