include/vcl/cairo.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 78ef3e95a38af23ba22e0bdc3ed7b7c6f94a1789 Author: Aron Budea <[email protected]> AuthorDate: Thu Apr 3 03:34:54 2025 +1030 Commit: Xisco Fauli <[email protected]> CommitDate: Fri Jun 13 10:38:58 2025 +0200 tdf#166005 vcl: cairo: use correct order in RGBA case When built with --enable-cairo-rgba parameter, green and blue colors were swapped. Likely since ff46c8bf598481ae37022414f3495c1e9385eb7c, but these macros are already defined in cff87aac4ec77957569377d690bc4aa8f7146e0d. Change-Id: Ia1a382c66e8e5ceb9d3d7eaa0f0d6287a6870cbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183642 Tested-by: Caolán McNamara <[email protected]> Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> Signed-off-by: Xisco Fauli <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186424 Reviewed-by: Michael Weghorn <[email protected]> (cherry picked from commit f11e05b914dbc69d9f0d1d88445a8f68159b5b46) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186437 diff --git a/include/vcl/cairo.hxx b/include/vcl/cairo.hxx index e9978526915d..7a5170a50673 100644 --- a/include/vcl/cairo.hxx +++ b/include/vcl/cairo.hxx @@ -38,8 +38,8 @@ #if ENABLE_CAIRO_RGBA #define SVP_24BIT_FORMAT (ScanlineFormat::N24BitTcRgb) #define SVP_CAIRO_FORMAT (ScanlineFormat::N32BitTcRgba) -#define SVP_CAIRO_BLUE 1 -#define SVP_CAIRO_GREEN 2 +#define SVP_CAIRO_BLUE 2 +#define SVP_CAIRO_GREEN 1 #define SVP_CAIRO_RED 0 #define SVP_CAIRO_ALPHA 3 #elif defined OSL_BIGENDIAN
