diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-08-18 18:02:35 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-08-18 18:02:35 +0200 |
| commit | 3384776f8e4b88da17b8418ddb3c9d752551bb6f (patch) | |
| tree | ca4de9b03aa3b693631513fb1301739f402bd533 /FL | |
| parent | 64f64835dda909e106a4516d64d004b6813a9c1d (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.h | 2 |
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 */ |
