diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/skia/SkiaHelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/skia/SkiaHelper.cxx b/vcl/skia/SkiaHelper.cxx index 3331cb7cb2b4..5fec448830c7 100644 --- a/vcl/skia/SkiaHelper.cxx +++ b/vcl/skia/SkiaHelper.cxx @@ -232,8 +232,8 @@ bool isVCLSkiaEnabled() /* * There are a number of cases that these environment variables cover: - * * SAL_FORCESKIA forces Skia independent of any other option - * * SAL_DISABLESKIA avoids the use of Skia if SAL_FORCESKIA is not set + * * SAL_FORCESKIA forces Skia if disabled by UI options or blacklisted + * * SAL_DISABLESKIA avoids the use of Skia regardless of any option */ bSet = true; @@ -241,7 +241,7 @@ bool isVCLSkiaEnabled() bool bRet = false; bool bSupportsVCLSkia = supportsVCLSkia(); - if (bForceSkia) + if (bForceSkia && bSupportsVCLSkia) { bRet = true; // don't actually block if blacklisted, but log it if enabled, and also get the vendor id |