Fix inventory items blinking on item preloading
This commit is contained in:
parent
5f1f1151d3
commit
ccf3985b7a
@ -894,9 +894,7 @@ video::ITexture* TextureSource::generateTextureFromMesh(
|
|||||||
params.light_radius);
|
params.light_radius);
|
||||||
|
|
||||||
// Render scene
|
// Render scene
|
||||||
driver->beginScene(true, true, video::SColor(0,0,0,0));
|
|
||||||
smgr->drawAll();
|
smgr->drawAll();
|
||||||
driver->endScene();
|
|
||||||
|
|
||||||
// Drop scene manager
|
// Drop scene manager
|
||||||
smgr->drop();
|
smgr->drop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user