Skip to content

Commit 0a57b5b

Browse files
sapiersapier
sapier
authored and
sapier
committedAug 16, 2014
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.
1 parent ccf3985 commit 0a57b5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/tile.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,9 @@ video::ITexture* TextureSource::generateTextureFromMesh(
894894
params.light_radius);
895895

896896
// Render scene
897+
driver->beginScene(true, true, video::SColor(0,0,0,0));
897898
smgr->drawAll();
899+
driver->endScene();
898900

899901
// Drop scene manager
900902
smgr->drop();
@@ -974,7 +976,7 @@ video::IImage* TextureSource::generateImage(const std::string &name)
974976

975977
std::string last_part_of_name = name.substr(last_separator_pos + 1);
976978

977-
/*
979+
/*
978980
If this name is enclosed in parentheses, generate it
979981
and blit it onto the base image
980982
*/

0 commit comments

Comments
 (0)
Please sign in to comment.