From: sapier Date: Sat, 16 Aug 2014 12:18:33 +0000 (+0200) Subject: Revert "Fix inventory items blinking on item preloading" X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=0a57b5b553e80e158e28594866f3c83514baf388;p=zefram%2Fminetest%2Fminetest_engine.git 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. --- diff --git a/src/tile.cpp b/src/tile.cpp index 366e03ce..d16d135f 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 */