summaryrefslogtreecommitdiff
path: root/vcl/inc/headless/svpgdi.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/headless/svpgdi.hxx')
-rw-r--r--vcl/inc/headless/svpgdi.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx
index d4f03355258b..9ee269aa18a5 100644
--- a/vcl/inc/headless/svpgdi.hxx
+++ b/vcl/inc/headless/svpgdi.hxx
@@ -24,6 +24,8 @@
#error This file is not for iOS
#endif
+#include <config_features.h>
+
#include <osl/endian.h>
#include <vcl/sysdata.hxx>
#include <vcl/metric.hxx>
@@ -41,7 +43,7 @@
//cairo then matches the OpenGL GL_RGBA format so we can use it there
//where we don't have GL_BGRA support.
// SVP_24BIT_FORMAT is used to store 24-bit images in 3-byte pixels to conserve memory.
-#if defined ANDROID
+#if defined(ANDROID) && !HAVE_FEATURE_ANDROID_LOK
# define SVP_24BIT_FORMAT (ScanlineFormat::N24BitTcRgb | ScanlineFormat::TopDown)
# define SVP_CAIRO_FORMAT (ScanlineFormat::N32BitTcRgba | ScanlineFormat::TopDown)
# define SVP_CAIRO_BLUE 1