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