Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/bitmap.cc')
-rw-r--r--src/ui/bitmap.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/bitmap.cc b/src/ui/bitmap.cc
index 5e19435..03d7166 100644
--- a/src/ui/bitmap.cc
+++ b/src/ui/bitmap.cc
@@ -51,8 +51,7 @@ void Bitmap::set_color(const math::Color & color)
void Bitmap::draw_background()
{
if (bitmap_texture.size()) {
- Paint::set_color(bitmap_color);
- Paint::draw_bitmap(global_location(), size(), bitmap_texture);
+ Paint::draw_bitmap(global_location(), size(),bitmap_color, bitmap_texture);
}
}