From a60e5400e22d951ecd920e3880636b9e175c7371 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 20 Dec 2014 14:41:02 +0000 Subject: Function imgProviderReleaseData() is made apple-specific. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Gl_Device_Plugin.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Fl_Gl_Device_Plugin.cxx b/src/Fl_Gl_Device_Plugin.cxx index 7475deb60..8dbdb297f 100644 --- a/src/Fl_Gl_Device_Plugin.cxx +++ b/src/Fl_Gl_Device_Plugin.cxx @@ -88,10 +88,12 @@ static Fl_RGB_Image* capture_gl_rectangle(Fl_Gl_Window *glw, int x, int y, int w return img; } +#ifdef __APPLE__ static void imgProviderReleaseData (void *info, const void *data, size_t size) { delete (Fl_RGB_Image *)info; } +#endif /** This class will make sure that OpenGL printing/screen capture is available if fltk_gl -- cgit v1.2.3