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();
|
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);
|
||||||
|
|
Loading…
Reference in New Issue