Skip to content

Commit ccf3985

Browse files
sapiersapier
sapier
authored and
sapier
committedAug 16, 2014
Fix inventory items blinking on item preloading
1 parent 5f1f115 commit ccf3985

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎src/tile.cpp

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

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

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

977975
std::string last_part_of_name = name.substr(last_separator_pos + 1);
978976

979-
/*
977+
/*
980978
If this name is enclosed in parentheses, generate it
981979
and blit it onto the base image
982980
*/

0 commit comments

Comments
 (0)
Please sign in to comment.