summaryrefslogtreecommitdiff
path: root/test/device.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-25 07:01:10 +0000
committerManolo Gouy <Manolo>2016-02-25 07:01:10 +0000
commit14759eb3872f113b36902e0f165a1224a8065789 (patch)
tree0ee0bb9db1974b200456de2dc0bb78725e2b0e5b /test/device.cxx
parent6097c134d893c67aa6d3d56ee176531c481261a8 (diff)
Mac OS platform: make fl_draw_image() draw correctly depth-4 images with transparent areas.
This simplifies the drawing of Fl_Pixmap's. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/device.cxx')
-rw-r--r--test/device.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/device.cxx b/test/device.cxx
index c0fec4a1e..7557f225a 100644
--- a/test/device.cxx
+++ b/test/device.cxx
@@ -565,6 +565,7 @@ void copy(Fl_Widget *, void *data) {
}
rgb_surf = new Fl_Image_Surface(W, H, 1);
rgb_surf->set_current();
+ fl_color(FL_YELLOW);fl_rectf(0,0,1000,1000);
if (decorated)
rgb_surf->draw_decorated_window(target->as_window());
else