Revert "Fix inventory items blinking on item preloading"
The fix didn't work on some systems sadly this wasn't detected prior merge, as preload is disabled by default now there's not gonna be a fix for it.master
parent
ccf3985b7a
commit
0a57b5b553
|
@ -894,7 +894,9 @@ 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();
|
||||||
|
@ -974,7 +976,7 @@ video::IImage* TextureSource::generateImage(const std::string &name)
|
||||||
|
|
||||||
std::string last_part_of_name = name.substr(last_separator_pos + 1);
|
std::string last_part_of_name = name.substr(last_separator_pos + 1);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
If this name is enclosed in parentheses, generate it
|
If this name is enclosed in parentheses, generate it
|
||||||
and blit it onto the base image
|
and blit it onto the base image
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue