diff options
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 0cfdcb7c9..919b868de 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -505,7 +505,7 @@ void Fl_Cocoa_Gl_Window_Driver::make_current_before() { if (d->changed_resolution()){ d->changed_resolution(false); invalidate(); - Fl_Cocoa_Screen_Driver::GLcontext_update((GLContext)pWindow->context()); + GLcontext_update((GLContext)pWindow->context()); } } @@ -549,15 +549,11 @@ void Fl_Cocoa_Gl_Window_Driver::swap_buffers() { void Fl_Cocoa_Gl_Window_Driver::resize(int is_a_resize, int unused, int also) { Fl_X *flx = Fl_X::i(pWindow); Fl_Cocoa_Window_Driver *d = Fl_Cocoa_Window_Driver::driver(pWindow); - if (flx && d->in_windowDidResize()) Fl_Cocoa_Screen_Driver::GLcontext_update((GLContext)pWindow->context()); + if (flx && d->in_windowDidResize()) GLcontext_update((GLContext)pWindow->context()); } char Fl_Cocoa_Gl_Window_Driver::swap_type() {return COPY;} -void Fl_Cocoa_Gl_Window_Driver::flush_context() { - Fl_Cocoa_Screen_Driver::GLcontext_flushbuffer((GLContext)pWindow->context()); -} - #endif // FL_CFG_GFX_QUARTZ #if defined(FL_CFG_GFX_GDI) |
