diff options
| author | Manolo Gouy <Manolo> | 2014-12-20 14:41:02 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-12-20 14:41:02 +0000 |
| commit | a60e5400e22d951ecd920e3880636b9e175c7371 (patch) | |
| tree | 164cfb8b253ed5f4673fe4e68615f63feccdd7b3 | |
| parent | 36c2877a60cfd47a9fed6dbf1306c6b31b81bd76 (diff) | |
Function imgProviderReleaseData() is made apple-specific.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_Gl_Device_Plugin.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
