summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-11-28 16:35:39 +0100
committerMatthias Melcher <github@matthiasm.com>2023-11-28 16:35:39 +0100
commit82e838f1fdadd7dd346f4bce51c6ebdd1e26dd35 (patch)
treee1f5dcedcfa6d15fa1b8956defbda7b97549f958 /src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H
parent59bdb455668a896d9989f08446e24313f5de48d6 (diff)
Adds OpenGL swap_interval for Wayland and X11.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H
index 83b13e155..df321fc10 100644
--- a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H
@@ -46,6 +46,8 @@ private:
void swap_buffers() FL_OVERRIDE;
void resize(int is_a_resize, int w, int h) FL_OVERRIDE;
char swap_type() FL_OVERRIDE;
+ void swap_interval(int) FL_OVERRIDE;
+ int swap_interval() const FL_OVERRIDE;
Fl_Gl_Choice *find(int m, const int *alistp) FL_OVERRIDE;
GLContext create_gl_context(Fl_Window* window, const Fl_Gl_Choice* g) FL_OVERRIDE;
void set_gl_context(Fl_Window* w, GLContext context) FL_OVERRIDE;