aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-05-15 22:16:38 +0200
committersapier <Sapier at GMX dot net>2014-08-16 13:00:37 +0200
commitccf3985b7a1f538d9011c34551a2e887cae8a7a3 (patch)
tree68e1af06e12b7631acdceb5b7ac5561cdff930d0 /src
parent5f1f1151d3a9c113902630adc16cc3f4845da7ba (diff)
downloadminetest-ccf3985b7a1f538d9011c34551a2e887cae8a7a3.tar.gz
minetest-ccf3985b7a1f538d9011c34551a2e887cae8a7a3.tar.bz2
minetest-ccf3985b7a1f538d9011c34551a2e887cae8a7a3.zip
Fix inventory items blinking on item preloading
Diffstat (limited to 'src')
-rw-r--r--src/tile.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tile.cpp b/src/tile.cpp
index d16d135f5..366e03ce2 100644
--- a/src/tile.cpp
+++ b/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
*/