Skip to content
Snippets Groups Projects
Commit f0e739b6 authored by Perttu Ahola's avatar Perttu Ahola
Browse files

smgr->drop() is now used in tile.cpp

parent 2684e620
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment