diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H index f00d09f0b..b472dff8e 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H +++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H @@ -71,7 +71,6 @@ public: // --- audible output virtual void beep(int type); // --- global events - virtual void flush(); virtual double wait(double time_to_wait); virtual int ready(); virtual void grab(Fl_Window* win); diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx index f701df93c..a918d1104 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx +++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx @@ -152,13 +152,6 @@ void Fl_Cocoa_Screen_Driver::beep(int type) { } -void Fl_Cocoa_Screen_Driver::flush() { - CGContextRef gc = (CGContextRef)Fl_Graphics_Driver::default_driver().gc(); - if (gc) - CGContextFlush(gc); -} - - extern void fl_fix_focus(); // in Fl.cxx extern void *fl_capture;