summaryrefslogtreecommitdiff
path: root/src/Fl_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-11-08 21:59:26 +0000
committerManolo Gouy <Manolo>2016-11-08 21:59:26 +0000
commita5b584f8f6db497e45fd1693a22511374acaa02d (patch)
treeb54ec008d18ff7c4fe4dfb0a7af604b0f3427c97 /src/Fl_Graphics_Driver.cxx
parent0c878d136c585881399752700651831053b3e5a9 (diff)
MacOS: use less temporary copies of image data for image printing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Graphics_Driver.cxx')
-rw-r--r--src/Fl_Graphics_Driver.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx
index 9fb840190..1f0df5325 100644
--- a/src/Fl_Graphics_Driver.cxx
+++ b/src/Fl_Graphics_Driver.cxx
@@ -151,6 +151,11 @@ int Fl_Graphics_Driver::start_image(Fl_Image *img, int XP, int YP, int WP, int H
return 0;
}
+/** Support function for image drawing */
+void Fl_Graphics_Driver::uncache_pixmap(fl_uintptr_t p) {
+ fl_delete_offscreen((Fl_Offscreen)p);
+}
+
//
// End of "$Id$".
//