Revert "Fix inventory items blinking on item preloading"
authorsapier <Sapier at GMX dot net>
Sat, 16 Aug 2014 12:18:33 +0000 (14:18 +0200)
committersapier <Sapier at GMX dot net>
Sat, 16 Aug 2014 12:18:33 +0000 (14:18 +0200)
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.

src/tile.cpp

index 366e03ce2af43838597c536c547519e100b57b22..d16d135f500f0aabdf3d590c9f0495d368477e2f 100644 (file)
@@ -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
        */