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_Window_Driver.H | |
| parent | 9ac73175be30f23ca2aaa23071909f19229e5982 (diff) | |
macOS: yet simpler implementation of window resize and rescale.
Diffstat (limited to 'src/Fl_Gl_Window_Driver.H')
| -rw-r--r-- | src/Fl_Gl_Window_Driver.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Gl_Window_Driver.H b/src/Fl_Gl_Window_Driver.H index bc0de9ebe..56dc2a873 100644 --- a/src/Fl_Gl_Window_Driver.H +++ b/src/Fl_Gl_Window_Driver.H @@ -110,6 +110,7 @@ class Fl_Cocoa_Gl_Window_Driver : public Fl_Gl_Window_Driver { virtual int mode_(int m, const int *a); virtual void make_current_before(); virtual void swap_buffers(); + virtual void resize(int is_a_resize, int w, int h); virtual char swap_type(); virtual Fl_Gl_Choice *find(int m, const int *alistp); virtual GLContext create_gl_context(Fl_Window* window, const Fl_Gl_Choice* g, int layer = 0); |
