From 9b01ff63e7f48fd8503bbc94ca12c761397ac7c6 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 16 Apr 2018 10:43:28 +0000 Subject: Remove Fl_PostScript_Graphics_Driver::mask_bitmap(char **) that is useless. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/PostScript/Fl_PostScript_image.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/drivers/PostScript/Fl_PostScript_image.cxx') diff --git a/src/drivers/PostScript/Fl_PostScript_image.cxx b/src/drivers/PostScript/Fl_PostScript_image.cxx index 6cb536df0..c007d9460 100644 --- a/src/drivers/PostScript/Fl_PostScript_image.cxx +++ b/src/drivers/PostScript/Fl_PostScript_image.cxx @@ -576,13 +576,11 @@ void Fl_PostScript_Graphics_Driver::draw_pixmap(Fl_Pixmap * pxm,int XP, int YP, int w,h; if (!fl_measure_pixmap(di, w, h)) return; mask=0; - mask_bitmap(&mask); mx = w; my = h; - fl_draw_pixmap(di, 0, 0, FL_BLACK); + fl_draw_pixmap(di, 0, 0, FL_BLACK); // assigns mask to an array delete[] mask; mask=0; - mask_bitmap(0); clocale_printf("GR GR\n"); pop_clip(); // matches push_no_clip in scale_for_image_ } -- cgit v1.2.3