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

This commit is contained in:
Perttu Ahola 2011-02-15 12:19:33 +02:00
parent 2684e620b5
commit f0e739b69e

@ -954,12 +954,13 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg,
smgr->drawAll(); smgr->drawAll();
driver->endScene(); driver->endScene();
// Drop scene // NOTE: The scene nodes should not be dropped, otherwise
cube->drop(); // smgr->drop() segfaults
/*cube->drop();
camera->drop(); camera->drop();
light->drop(); light->drop();*/
// Drop scene manager FIXME: Segfaults // Drop scene manager
//smgr->drop(); smgr->drop();
// Unset render target // Unset render target
driver->setRenderTarget(0, true, true, 0); driver->setRenderTarget(0, true, true, 0);