summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-05-13 15:34:26 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-05-13 15:34:26 +0200
commite2eabd3056a01fe39c1bc75114772e1513506521 (patch)
treed3fe29acb2fad13c09d62fe63d711fc400633cc1 /src/drivers
parente236091a99af77d730e429e83bbfd302d91db086 (diff)
Remove Fl_Cocoa_Screen_Driver::flush() that is useless
Diffstat (limited to 'src/drivers')
-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;