diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-05-13 15:34:26 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-05-13 15:34:26 +0200 |
| commit | e2eabd3056a01fe39c1bc75114772e1513506521 (patch) | |
| tree | d3fe29acb2fad13c09d62fe63d711fc400633cc1 /src/drivers | |
| parent | e236091a99af77d730e429e83bbfd302d91db086 (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.H | 1 | ||||
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx | 7 |
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; |
