Remove Fl_Cocoa_Screen_Driver::flush() that is useless
This commit is contained in:
parent
e236091a99
commit
e2eabd3056
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user