diff options
| author | Manolo Gouy <Manolo> | 2014-09-22 16:51:21 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-09-22 16:51:21 +0000 |
| commit | afb08c015d2c11bad8c1687cc2e98d58f2fff1d8 (patch) | |
| tree | d2797610c54d69fa3923fea3bc765418a6c3d562 /src | |
| parent | f5e93e53ec24883aaa17adf090c01c3598dc41a9 (diff) | |
Corrected drawing of RGBA images to Fl_Image_Surface and to Fl_Copy_Surface objects under WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Double_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index b319b9f01..4a772971d 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -219,7 +219,7 @@ void Fl_GDI_Graphics_Driver::copy_offscreen_with_alpha(int x,int y,int w,int h,H // first try to alpha blend // if to printer, always try alpha_blend if ( (fl_graphics_driver->class_name() == Fl_GDI_Printer_Graphics_Driver::class_id && fl_alpha_blend) || - (Fl_Surface_Device::surface() == Fl_Display_Device::display_device() && fl_can_do_alpha_blending() ) ) { + (fl_graphics_driver->class_name() == Fl_GDI_Graphics_Driver::class_id && fl_can_do_alpha_blending()) ) { alpha_ok = fl_alpha_blend(fl_gc, x, y, w, h, new_gc, srcx, srcy, w, h, blendfunc); } // if that failed (it shouldn't), still copy the bitmap over, but now alpha is 1 |
