summaryrefslogtreecommitdiff
path: root/src/Fl_Image_Surface.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Image_Surface.cxx')
-rw-r--r--src/Fl_Image_Surface.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx
index 95cecf68a..7ac6ab944 100644
--- a/src/Fl_Image_Surface.cxx
+++ b/src/Fl_Image_Surface.cxx
@@ -111,10 +111,8 @@ Fl_Shared_Image* Fl_Image_Surface::highres_image()
return s_img;
}
-/** Allows to delete the Fl_Image_Surface object while keeping its underlying Fl_Offscreen.
- This member function is intended for internal use by the FLTK library.
- */
-Fl_Offscreen Fl_Image_Surface::get_offscreen_before_delete() {
+// Allows to delete the Fl_Image_Surface object while keeping its underlying Fl_Offscreen
+Fl_Offscreen Fl_Image_Surface::get_offscreen_before_delete_() {
Fl_Offscreen keep = platform_surface->offscreen;
platform_surface->offscreen = 0;
return keep;