Skip to content
Permalink
Browse files

Fix inventory items blinking on item preloading

  • Loading branch information...
sapier sapier
sapier authored and sapier committed May 15, 2014
1 parent 5f1f115 commit ccf3985b7a1f538d9011c34551a2e887cae8a7a3
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/tile.cpp
@@ -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();
@@ -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
*/

0 comments on commit ccf3985

Please sign in to comment.
You can’t perform that action at this time.