diff options
| author | Manolo Gouy <Manolo> | 2018-04-19 13:14:37 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-04-19 13:14:37 +0000 |
| commit | 374ea9e9eb01e5a4975edf6e7bebb70708f1bee1 (patch) | |
| tree | 3f6a5bf3a0596ac4a37745601aab942bdc8f1cca /src/drivers/PostScript | |
| parent | 54b697cd49d3946ecd1f264c0741f36568822819 (diff) | |
Fix handling of bg argument of fl_draw_pixmap(char**, int , int , Fl_Color bg) during direct drawing of pixmap image data.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/PostScript')
| -rw-r--r-- | src/drivers/PostScript/Fl_PostScript_image.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/PostScript/Fl_PostScript_image.cxx b/src/drivers/PostScript/Fl_PostScript_image.cxx index c007d9460..7c977bdf7 100644 --- a/src/drivers/PostScript/Fl_PostScript_image.cxx +++ b/src/drivers/PostScript/Fl_PostScript_image.cxx @@ -575,7 +575,7 @@ void Fl_PostScript_Graphics_Driver::draw_pixmap(Fl_Pixmap * pxm,int XP, int YP, const char * const * di =pxm->data(); int w,h; if (!fl_measure_pixmap(di, w, h)) return; - mask=0; + mask=(uchar*)1;// will instruct fl_draw_pixmap() to compute the image's mask mx = w; my = h; fl_draw_pixmap(di, 0, 0, FL_BLACK); // assigns mask to an array |
