|
|
commit 394298aff48d25a6b8bbc9be84774dfafb0c6f77
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Mon Jun 13 16:19:43 2022 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Mon Jun 13 16:19:43 2022 +0200
Add explanatory comment about WL_SHM_FORMAT_ARGB8888 and CAIRO_FORMAT_ARGB32.
src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
index a299480..a71c943 100644
--- src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
+++ src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
@@ -124,7 +124,7 @@ void Fl_Wayland_Graphics_Driver::buffer_release(struct wld_window *window)
}
}
-// these 2 refer to the same memory layout for pixel data
+// this refers to the same memory layout for pixel data as does CAIRO_FORMAT_ARGB32
const uint32_t Fl_Wayland_Graphics_Driver::wld_format = WL_SHM_FORMAT_ARGB8888;
[ Direct Link to Message ] | |
|
| |