diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-11-26 12:37:59 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-11-26 12:37:59 +0100 |
| commit | 6817e821af9d69363466025f17ee367cfaa4550e (patch) | |
| tree | 0ccee8a354141b7e5eefac83da657c030e1a9f9e /FL/Fl_Gl_Window.H | |
| parent | 102437f1eedce8589d947bf8791d6d5f413d445b (diff) | |
STR 1373: adds vsync control to OpenGL contexts on macOS
Windows and X11 to follow, no idea about Wayland.
Diffstat (limited to 'FL/Fl_Gl_Window.H')
| -rw-r--r-- | FL/Fl_Gl_Window.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index 65c7a5a9d..67c3c4050 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -199,6 +199,8 @@ public: void context(GLContext, int destroy_flag = 0); void make_current(); void swap_buffers(); + void swap_interval(int); + int swap_interval() const; void ortho(); int can_do_overlay(); |
