summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-18 18:02:35 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-18 18:02:35 +0200
commit3384776f8e4b88da17b8418ddb3c9d752551bb6f (patch)
treeca4de9b03aa3b693631513fb1301739f402bd533 /FL
parent64f64835dda909e106a4516d64d004b6813a9c1d (diff)
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.
Diffstat (limited to 'FL')
-rw-r--r--FL/platform_types.h2
1 files changed, 1 insertions, 1 deletions
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
*/