mirror of
https://github.com/minetest/minetest.git
synced 2024-08-19 04:54:18 +02:00
smgr->drop() is now used in tile.cpp
This commit is contained in:
parent
2684e620b5
commit
f0e739b69e
11
src/tile.cpp
11
src/tile.cpp
@ -954,12 +954,13 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg,
|
||||
smgr->drawAll();
|
||||
driver->endScene();
|
||||
|
||||
// Drop scene
|
||||
cube->drop();
|
||||
// NOTE: The scene nodes should not be dropped, otherwise
|
||||
// smgr->drop() segfaults
|
||||
/*cube->drop();
|
||||
camera->drop();
|
||||
light->drop();
|
||||
// Drop scene manager FIXME: Segfaults
|
||||
//smgr->drop();
|
||||
light->drop();*/
|
||||
// Drop scene manager
|
||||
smgr->drop();
|
||||
|
||||
// Unset render target
|
||||
driver->setRenderTarget(0, true, true, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user