diff options
| author | Manolo Gouy <Manolo> | 2016-03-19 16:48:33 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-19 16:48:33 +0000 |
| commit | 8711cf8be9035e5bc5e2e487012fa50d24e65748 (patch) | |
| tree | 08694c4ba7e3628eb00fb40d398d5f622fe6ad6e /src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx | |
| parent | f8bd5f304681258e4f9cf16784782fefa7e378f8 (diff) | |
(hopefully) Final driver-based rewriting of the Fl_Image_Surface class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11371 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx')
| -rw-r--r-- | src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx index d466153cc..4e89df5bd 100644 --- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx +++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx @@ -720,7 +720,7 @@ void Fl_Xlib_Graphics_Driver::draw(Fl_RGB_Image *img, int XP, int YP, int WP, in surface = new Fl_Image_Surface(img->w(), img->h()); } else if (depth == 4 && fl_can_do_alpha_blending()) { Fl_Offscreen pixmap = XCreatePixmap(fl_display, RootWindow(fl_display, fl_screen), img->w(), img->h(), 32); - surface = new Fl_Image_Surface(pixmap, img->w(), img->h()); + surface = new Fl_Image_Surface(img->w(), img->h(), 0, pixmap); depth |= FL_IMAGE_WITH_ALPHA; } if (surface) { |
