From da5dff32ea54373e08772f230ac2c6edc8d7bdd5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 18 Jun 2014 01:22:16 +0000 Subject: Sets the return type of Fl_Image_Surface::image() to its real value, Fl_RGB_Image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Image_Surface.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/Fl_Image_Surface.cxx') diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index 1d5e6f5d8..b64004a61 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -64,11 +64,10 @@ Fl_Image_Surface::~Fl_Image_Surface() { #endif } -/** Returns the image made of all drawings sent to the Fl_Image_Surface object. - The returned object can be safely cast to Fl_RGB_Image* and contains its own copy - of the RGB data. +/** Returns an image made of all drawings sent to the Fl_Image_Surface object. + The returned object contains its own copy of the RGB data. */ -Fl_Image* Fl_Image_Surface::image() +Fl_RGB_Image* Fl_Image_Surface::image() { unsigned char *data; #ifdef __APPLE__ -- cgit v1.2.3