From d17f17e6069ea5a493305b0881b30ad508d8007f Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 12 Dec 2016 18:20:26 +0000 Subject: The virtual function Fl_Graphics_Driver::copy_offscreen() cannot be implemented in a platform-independent way. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Graphics_Driver.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 1f0df5325..ab45bcf6e 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -74,11 +74,7 @@ int Fl_Graphics_Driver::draw_scaled(Fl_Image *img, int X, int Y, int W, int H) { /** see fl_copy_offscreen() */ void Fl_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy) { - fl_begin_offscreen(pixmap); - uchar *img = fl_read_image(NULL, srcx, srcy, w, h, 0); - fl_end_offscreen(); - fl_draw_image(img, x, y, w, h, 3, 0); - delete[] img; + // nothing to do, reimplement in driver if needed } /** see fl_set_spot() */ -- cgit v1.2.3