summaryrefslogtreecommitdiff
path: root/src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-05-01 17:09:15 +0000
committerManolo Gouy <Manolo>2018-05-01 17:09:15 +0000
commitb73ff860cc44217e642335ef61ce8c1ee418eeb9 (patch)
treeb239eb2b2f6025f815f70f33e3a86a3aa6c959c9 /src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx
parente70733b46f6974111c5430cb499a55e757224f9a (diff)
Make virtual void Fl_Surface_Device::end_current_() have no argument because none is used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx')
-rw-r--r--src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx b/src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx
index 74a5022f4..67ebc5c66 100644
--- a/src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx
+++ b/src/drivers/Xlib/Fl_Xlib_Copy_Surface_Driver.cxx
@@ -28,7 +28,7 @@
class Fl_Xlib_Copy_Surface_Driver : public Fl_Copy_Surface_Driver {
friend class Fl_Copy_Surface_Driver;
- virtual void end_current_(Fl_Surface_Device*);
+ virtual void end_current_();
protected:
Fl_Offscreen xid;
Window oldwindow;
@@ -82,7 +82,7 @@ void Fl_Xlib_Copy_Surface_Driver::set_current() {
fl_window = xid;
}
-void Fl_Xlib_Copy_Surface_Driver::end_current_(Fl_Surface_Device*) {
+void Fl_Xlib_Copy_Surface_Driver::end_current_() {
fl_window = oldwindow;
}