Skip to content

Commit

Permalink
Fix inventory items blinking on item preloading
Browse files Browse the repository at this point in the history
  • Loading branch information
sapier authored and sapier committed Aug 16, 2014
1 parent 5f1f115 commit ccf3985
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tile.cpp
Expand Up @@ -894,9 +894,7 @@ video::ITexture* TextureSource::generateTextureFromMesh(
params.light_radius);

// Render scene
driver->beginScene(true, true, video::SColor(0,0,0,0));
smgr->drawAll();
driver->endScene();

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

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

/*
/*
If this name is enclosed in parentheses, generate it
and blit it onto the base image
*/
Expand Down

0 comments on commit ccf3985

Please sign in to comment.