From 14759eb3872f113b36902e0f165a1224a8065789 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 25 Feb 2016 07:01:10 +0000 Subject: 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 --- test/device.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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 -- cgit v1.2.3