diff options
| -rw-r--r-- | FL/mac.H | 3 | ||||
| -rw-r--r-- | src/Fl_Gl_Device_Plugin.cxx | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -94,6 +94,9 @@ class NSOpenGLContext; typedef CGContextRef Fl_Offscreen; typedef CFMutableDataRef Fl_CFMutableDataRef; +#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4 +typedef CGImageAlphaInfo CGBitmapInfo; +#endif typedef struct flCocoaRegion { int count; diff --git a/src/Fl_Gl_Device_Plugin.cxx b/src/Fl_Gl_Device_Plugin.cxx index a63a4dd50..e9b43d1cf 100644 --- a/src/Fl_Gl_Device_Plugin.cxx +++ b/src/Fl_Gl_Device_Plugin.cxx @@ -90,9 +90,6 @@ static Fl_RGB_Image* capture_gl_rectangle(Fl_Gl_Window *glw, int x, int y, int w } #ifdef __APPLE__ -#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4 -typedef CGImageAlphaInfo CGBitmapInfo; -#endif static void imgProviderReleaseData (void *info, const void *data, size_t size) { delete (Fl_RGB_Image *)info; |
