1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Fix inventory items blinking on item preloading

This commit is contained in:
sapier
2014-05-15 22:16:38 +02:00
parent 5f1f1151d3
commit ccf3985b7a

View File

@@ -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();