diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-07 09:09:33 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-07 09:09:33 +0200 |
| commit | c66caf5dce9331fd3e011873711a768adb28cf9d (patch) | |
| tree | 20a0be9cad0737a97da2ddadf497268f52415ab5 /src/Fl_Gl_Window.cxx | |
| parent | cc955d27a09ef834d94ad798458093463e486dfd (diff) | |
Simpler implementation of Fl_Cocoa_Window_Driver::resize()
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 3968fa7ca..9bb09c0cd 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -597,12 +597,6 @@ void Fl_Cocoa_Gl_Window_Driver::swap_buffers() { Fl_Cocoa_Window_Driver::flush_context(pWindow->context());//aglSwapBuffers((AGLContext)context_); } -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_Window_Driver::GLcontext_update(pWindow->context()); -} - char Fl_Cocoa_Gl_Window_Driver::swap_type() {return COPY;} #endif // FL_CFG_GFX_QUARTZ |
