From 3384776f8e4b88da17b8418ddb3c9d752551bb6f Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 18 Aug 2023 18:02:35 +0200 Subject: Improve handling of type Fl_Offscreen under Wayland Type Fl_Offscreen is now to be cast to cairo_t*. Also, make sure the dimensions of GL windows are multiples of the screen scale factor. --- FL/platform_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/platform_types.h b/FL/platform_types.h index 0f7300474..7c6b3a0b6 100644 --- a/FL/platform_types.h +++ b/FL/platform_types.h @@ -39,7 +39,7 @@ typedef opaque fl_uintptr_t; Platform-specific value representing an offscreen drawing buffer. \note This value can be safely cast to these types on each platform: \li X11: Pixmap - \li Wayland: struct fl_wld_draw_buffer * + \li Wayland: cairo_t * \li Windows: HBITMAP \li macOS: CGContextRef */ -- cgit v1.2.3