summaryrefslogtreecommitdiff
path: root/src/Fl_Device.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Device.cxx')
-rw-r--r--src/Fl_Device.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx
index 37aa804ac..6c73ea04a 100644
--- a/src/Fl_Device.cxx
+++ b/src/Fl_Device.cxx
@@ -50,7 +50,7 @@
is Fl_Surface_Device::push_current( ) / Fl_Surface_Device::pop_current().*/
void Fl_Surface_Device::set_current(void)
{
- if (surface_) surface_->end_current_(this);
+ if (surface_) surface_->end_current_();
fl_graphics_driver = pGraphicsDriver;
surface_ = this;
pGraphicsDriver->global_gc();