diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-27 22:35:58 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-27 22:35:58 +0000 |
| commit | 780f43a4f14f56678c503fa279517c418b697877 (patch) | |
| tree | fdb76e5f5b0b47ca652b497e5c096d60d0a67c54 /src/Fl_Double_Window.cxx | |
| parent | 6177c23d901c8748fd908b3bd1106b403f017d7f (diff) | |
Removed all references to Quartz driver files from library headers in Xcode. Works in Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Double_Window.cxx')
| -rw-r--r-- | src/Fl_Double_Window.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index b3b82d851..8dd51133d 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -238,21 +238,12 @@ void Fl_GDI_Graphics_Driver::copy_offscreen_with_alpha(int x,int y,int w,int h,H #elif defined(__APPLE_QUARTZ__) || defined(FL_DOXYGEN) +#include "src/drivers/Quartz/Fl_Quartz_Graphics_Driver.h" + char fl_can_do_alpha_blending() { return 1; } -#if ! defined(FL_DOXYGEN) -Fl_Offscreen Fl_Quartz_Graphics_Driver::create_offscreen_with_alpha(int w, int h) { - void *data = calloc(w*h,4); - CGColorSpaceRef lut = CGColorSpaceCreateDeviceRGB(); - CGContextRef ctx = CGBitmapContextCreate( - data, w, h, 8, w*4, lut, kCGImageAlphaPremultipliedLast); - CGColorSpaceRelease(lut); - return (Fl_Offscreen)ctx; -} -#endif - /** \addtogroup fl_drawings @{ */ |
