diff options
-rw-r--r-- | vcl/skia/SkiaHelper.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/skia/SkiaHelper.cxx b/vcl/skia/SkiaHelper.cxx index c305c5275ea5..c0972ab2e0a0 100644 --- a/vcl/skia/SkiaHelper.cxx +++ b/vcl/skia/SkiaHelper.cxx @@ -180,6 +180,13 @@ static bool initRenderMethodToUse() methodToUse = RenderRaster; return true; } + if (strcmp(env, "vulkan") == 0) + { + methodToUse = RenderVulkan; + return true; + } + SAL_WARN("vcl.skia", "Unrecognized value of SAL_SKIA"); + abort(); } if (officecfg::Office::Common::VCL::ForceSkiaRaster::get()) { |