diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-12-26 16:00:16 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-12-26 16:00:44 +0100 |
| commit | bb5cb5b6d4423cf132054422fbcb489198f2540b (patch) | |
| tree | 33320ba3317aa74609ad7adb4b6d9856ab537a15 /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | |
| parent | 1d73c0195c8bf256f23b58d0288d1bb9eb87448d (diff) | |
Wld: export only member functions for ./configure --enable-shared (#872)
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H index 520df9cd8..73af80701 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H @@ -27,7 +27,7 @@ #include <wayland-client.h> // for wl_list -class FL_EXPORT Fl_Wayland_Graphics_Driver : public Fl_Cairo_Graphics_Driver { +class Fl_Wayland_Graphics_Driver : public Fl_Cairo_Graphics_Driver { public: struct draw_buffer { unsigned char *buffer; @@ -63,7 +63,8 @@ public: static void buffer_commit(struct wld_window *window, struct flCairoRegion *r = NULL); static void cairo_init(struct draw_buffer *buffer, int width, int height, int stride, cairo_format_t format); - static struct draw_buffer *offscreen_buffer(Fl_Offscreen); + // used by class Fl_Wayland_Gl_Window_Driver + static FL_EXPORT struct draw_buffer *offscreen_buffer(Fl_Offscreen); static const cairo_user_data_key_t key; static Fl_Image_Surface *custom_offscreen(int w, int h, struct wld_buffer **buffer); }; |
