diff options
| -rw-r--r-- | src/Fl_Image_Surface.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index 0f77006c2..41c7c1eac 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -72,7 +72,8 @@ void Fl_Image_Surface::untranslate() { } /** Returns the Fl_Offscreen object associated to the image surface. - The returned Fl_Offscreen object is deleted when the Fl_Image_Surface object is deleted. + The returned Fl_Offscreen object is deleted when the Fl_Image_Surface object is deleted, + unless the Fl_Image_Surface was constructed with non-null Fl_Offscreen argument. */ Fl_Offscreen Fl_Image_Surface::offscreen() { return platform_surface ? platform_surface->offscreen : (Fl_Offscreen)0; |
