tdf#166005 vcl: cairo: use correct order in RGBA case
When built with --enable-cairo-rgba parameter, green and blue colors were swapped. Likely sinceff46c8bf59, but these macros are already defined incff87aac4e. Change-Id: Ia1a382c66e8e5ceb9d3d7eaa0f0d6287a6870cbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183642 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
committed by
Caolán McNamara
parent
6401be9549
commit
69162f01d3
@@ -38,8 +38,8 @@
|
||||
#if ENABLE_CAIRO_RGBA
|
||||
#define SVP_24BIT_FORMAT (ScanlineFormat::N24BitTcRgb)
|
||||
#define SVP_CAIRO_FORMAT (ScanlineFormat::N32BitTcRgbx)
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user