include/vcl/cairo.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f11e05b914dbc69d9f0d1d88445a8f68159b5b46
Author:     Aron Budea <aron.bu...@collabora.com>
AuthorDate: Thu Apr 3 03:34:54 2025 +1030
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Thu Jun 12 18:40:55 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 <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Signed-off-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186424
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

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

Reply via email to