enable Skia on big-endian too

Without this the build will #error out, and despite the disclaimer
it reportedly works fine.
https://lists.freedesktop.org/archives/libreoffice/2022-May/088838.html

Change-Id: I0e87b31647fe5107bca9b58d8f4af5fc0c67cd65
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134032
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
Luboš Luňák 2022-05-09 07:28:05 +02:00
parent c0f9157cf6
commit b06663135f

View file

@ -62,6 +62,10 @@ are the same.
// the default X11 visual is actually also BGRA.
#define SK_R32_SHIFT 16
// Enable skia on big-endian too. Despite the disclaimer it reportedly
// actually works fine.
#define I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_ENDIAN 1
// Enable Skia's internal checks depending on DBG_UTIL mode. ENABLE_SKIA_DEBUG
// controls whether to build with or without optimizations (set in Makefile).
#ifdef DBG_UTIL