summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fl_draw_pixmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx
index 7670680ce..923186889 100644
--- a/src/fl_draw_pixmap.cxx
+++ b/src/fl_draw_pixmap.cxx
@@ -217,7 +217,7 @@ int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg) {
} // for Y
}
- fl_draw_image(buffer, x, y, w, h, 4 | FL_IMAGE_WITH_ALPHA);
+ fl_graphics_driver->draw_image(buffer, x, y, w, h, 4);
delete[] buffer;
return 1;