diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-28 15:31:02 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-28 15:31:02 +0200 |
| commit | 172063b2addc54a5bd376d4595673eac8b5d490e (patch) | |
| tree | 3712866dc6e94da8790197ab2f9e4bf295dd72d7 /src/Fl_Gl_Device_Plugin.cxx | |
| parent | 9ac73175be30f23ca2aaa23071909f19229e5982 (diff) | |
macOS: yet simpler implementation of window resize and rescale.
Diffstat (limited to 'src/Fl_Gl_Device_Plugin.cxx')
| -rw-r--r-- | src/Fl_Gl_Device_Plugin.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Fl_Gl_Device_Plugin.cxx b/src/Fl_Gl_Device_Plugin.cxx index 016f45d35..ffc530a03 100644 --- a/src/Fl_Gl_Device_Plugin.cxx +++ b/src/Fl_Gl_Device_Plugin.cxx @@ -44,14 +44,6 @@ public: if (!glw) return NULL; return Fl_OpenGL_Display_Device::capture_gl_rectangle(glw, x, y, w, h); } - virtual GLContext context(Fl_Widget *widget) { - Fl_Gl_Window *glw = widget->as_gl_window(); - return glw ? glw->context() : (GLContext)0; - } - virtual void valid(Fl_Widget *widget, char v) { - Fl_Gl_Window *glw = widget->as_gl_window(); - if (glw) glw->valid(v); - } }; static Fl_Gl_Device_Plugin Gl_Device_Plugin; |
