summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.H1
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx7
2 files changed, 0 insertions, 8 deletions
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;