From 503492db78891ee9fa32f2ca65ef37bb738ce800 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 8 Dec 2022 10:16:06 +0100 Subject: Simplify prototype of Fl_Wayland_Graphics_Driver::buffer_commit() member --- src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H') diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H index 855bce1c7..01932fc50 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H @@ -78,8 +78,7 @@ public: virtual void copy_offscreen(int x, int y, int w, int h, Fl_Offscreen osrc, int srcx, int srcy); static struct fl_wld_buffer *create_shm_buffer(int width, int height); static void buffer_release(struct wld_window *window); - static void buffer_commit(struct wld_window *window, const struct wl_callback_listener*, - bool need_damage = true); + static void buffer_commit(struct wld_window *window, bool need_damage = true); static void cairo_init(struct fl_wld_buffer *buffer, int width, int height, int stride, cairo_format_t format); virtual void *gc(); virtual void gc(void *gc); -- cgit v1.2.3