From b9a9f7f10c769642bd0de81732e8e44ed4130a0c Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 8 Dec 2022 15:22:08 +0100 Subject: [PATCH] Simpler prototype of Fl_Wayland_Graphics_Driver::buffer_commit() member - cont'd --- src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx index 98474ec24..7a88d7c90 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx @@ -89,7 +89,7 @@ static void surface_frame_done(void *data, struct wl_callback *cb, uint32_t time window->buffer->cb = NULL; if (window->buffer->draw_buffer_needs_commit) { //fprintf(stderr,"surface_frame_done: new cb=%p \n", window->buffer->cb); - Fl_Wayland_Graphics_Driver::buffer_commit(window, &surface_frame_listener); + Fl_Wayland_Graphics_Driver::buffer_commit(window); } }