diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-12-08 10:16:06 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-12-08 10:16:06 +0100 |
| commit | 503492db78891ee9fa32f2ca65ef37bb738ce800 (patch) | |
| tree | 8c082b5bffe7f630ad5fb8976409d70bc8c3d9c6 /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | |
| parent | fca63db4ab3c813c4c5fe36411055ac431ced78d (diff) | |
Simplify prototype of Fl_Wayland_Graphics_Driver::buffer_commit() member
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
