diff options
-rw-r--r-- | src/tile.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tile.cpp b/src/tile.cpp index 731f3712c..6dbe4c63a 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -1679,6 +1679,9 @@ bool generate_image(std::string part_of_name, video::IImage *& baseimg, return false; } + // Fill target image with transparency + img->fill(video::SColor(0,0,0,0)); + core::dimension2d<u32> dim = frame_size; core::position2d<s32> pos_dst(0, 0); core::position2d<s32> pos_src(0, frame_index * frame_size.Y); |