summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-04-16 10:43:28 +0000
committerManolo Gouy <Manolo>2018-04-16 10:43:28 +0000
commit9b01ff63e7f48fd8503bbc94ca12c761397ac7c6 (patch)
tree2c8a17173c74bea410b0a6e0cce70abf26523005 /src
parente85fd31f548b2b7a90ed2f401ac934ce7fc49bc4 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/drivers/PostScript/Fl_PostScript_image.cxx4
1 files changed, 1 insertions, 3 deletions
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_
}