From a5b584f8f6db497e45fd1693a22511374acaa02d Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 8 Nov 2016 21:59:26 +0000 Subject: 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 --- src/Fl_Graphics_Driver.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Fl_Graphics_Driver.cxx') 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$". // -- cgit v1.2.3