summaryrefslogtreecommitdiff
path: root/canvas/source/directx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-12-09 15:47:22 +0100
committerLuboš Luňák <l.lunak@collabora.com>2019-12-10 11:04:57 +0100
commitb4c28826e0f8716583e7663ca2ea7a25079f2583 (patch)
treed39c93c007ccda0d3dd272009873a369e004bef9 /canvas/source/directx
parent55204db25234e22ea00d9bef2fc1a062e942e84d (diff)
force vclcanvas use with Skia, like it's with OpenGL (tdf#129076)
Related to tdf#93870. Change-Id: Ie0cb64c05c0fde6a774ce8558d06943870e775fe Reviewed-on: https://gerrit.libreoffice.org/84758 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'canvas/source/directx')
-rw-r--r--canvas/source/directx/dx_canvas.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/canvas/source/directx/dx_canvas.cxx b/canvas/source/directx/dx_canvas.cxx
index 28c73ed50e3c..39a319f31cff 100644
--- a/canvas/source/directx/dx_canvas.cxx
+++ b/canvas/source/directx/dx_canvas.cxx
@@ -37,6 +37,7 @@
#include <tools/diagnose_ex.h>
#include <vcl/sysdata.hxx>
#include <vcl/opengl/OpenGLWrapper.hxx>
+#include <vcl/skia/SkiaHelper.hxx>
#include <canvas/canvastools.hxx>
@@ -85,6 +86,7 @@ namespace dxcanvas
// tdf#93870 - force VCL canvas in OpenGL mode for now.
assert( !OpenGLWrapper::isVCLOpenGLEnabled() );
+ assert( !SkiaHelper::isVCLSkiaEnabled() );
SAL_INFO("canvas.directx", "Canvas::initialize called" );