From 5bb4e853c7c80fa16e568f47c49c2282d197a19c Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 30 Nov 2016 07:09:48 +0000 Subject: Remove Fl_Image_Surface::end_current() to be called after usage of the drawing surface. This ensures API compatibility with FLTK 1.3 where Fl_Surface_Device->set_current() is used to change the current drawing surface. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Image_Surface.H | 2 -- 1 file changed, 2 deletions(-) (limited to 'FL/Fl_Image_Surface.H') diff --git a/FL/Fl_Image_Surface.H b/FL/Fl_Image_Surface.H index 887f86ac8..5c638915e 100644 --- a/FL/Fl_Image_Surface.H +++ b/FL/Fl_Image_Surface.H @@ -77,7 +77,6 @@ public: Fl_Image_Surface(int w, int h, int high_res = 0, Fl_Offscreen off = 0); ~Fl_Image_Surface(); void set_current(); - void end_current(); Fl_RGB_Image *image(); Fl_Shared_Image *highres_image(); void origin(int *x, int *y); @@ -106,7 +105,6 @@ protected: virtual void untranslate() {} int printable_rect(int *w, int *h) {*w = width; *h = height; return 0;} virtual Fl_RGB_Image *image() {return NULL;} - virtual void end_current() {} /** Each platform implements this function its own way. It returns an object implementing all virtual functions of class Fl_Image_Surface_Driver for the plaform. -- cgit v1.2.3