summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-06-13 16:19:43 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-06-13 16:19:43 +0200
commit394298aff48d25a6b8bbc9be84774dfafb0c6f77 (patch)
treec548c79bd17f95c8fba9ce0365e62ae95cc92fde /src
parent2fc2c5b562c1d8ae94ff11cdf0587cc5ff288d72 (diff)
Add explanatory comment about WL_SHM_FORMAT_ARGB8888 and CAIRO_FORMAT_ARGB32.
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
index a299480ed..a71c943ff 100644
--- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
+++ b/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;