Remove Fl_Cocoa_Screen_Driver::flush() that is useless

This commit is contained in:
ManoloFLTK 2019-05-13 15:34:26 +02:00
parent e236091a99
commit e2eabd3056
2 changed files with 0 additions and 8 deletions

View File

@ -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);

View File

@ -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;