summaryrefslogtreecommitdiff
path: root/src/Fl_Gl_Window.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-28 15:31:02 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-28 15:31:02 +0200
commit172063b2addc54a5bd376d4595673eac8b5d490e (patch)
tree3712866dc6e94da8790197ab2f9e4bf295dd72d7 /src/Fl_Gl_Window.cxx
parent9ac73175be30f23ca2aaa23071909f19229e5982 (diff)
macOS: yet simpler implementation of window resize and rescale.
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
-rw-r--r--src/Fl_Gl_Window.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index ee4de475f..43e2f67ab 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -597,6 +597,10 @@ void Fl_Cocoa_Gl_Window_Driver::swap_buffers() {
char Fl_Cocoa_Gl_Window_Driver::swap_type() {return COPY;}
+void Fl_Cocoa_Gl_Window_Driver::resize(int is_a_resize, int w, int h) {
+ Fl_Cocoa_Window_Driver::GLcontext_update(pWindow->context());
+}
+
#endif // FL_CFG_GFX_QUARTZ
#if defined(FL_CFG_GFX_GDI)