diff options
author | sapier <Sapier at GMX dot net> | 2014-08-16 14:18:33 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-08-16 14:18:33 +0200 |
commit | 0a57b5b553e80e158e28594866f3c83514baf388 (patch) | |
tree | 4b98f9dbb6767b64a02fb72ec2a68af13b5140d9 /src | |
parent | ccf3985b7a1f538d9011c34551a2e887cae8a7a3 (diff) | |
download | minetest-0a57b5b553e80e158e28594866f3c83514baf388.tar.gz minetest-0a57b5b553e80e158e28594866f3c83514baf388.tar.bz2 minetest-0a57b5b553e80e158e28594866f3c83514baf388.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/tile.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tile.cpp b/src/tile.cpp index 366e03ce2..d16d135f5 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -894,7 +894,9 @@ 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(); @@ -974,7 +976,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 */ |