diff options
Diffstat (limited to 'src/tile.cpp')
-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 */ |