vcl/skia/gdiimpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1e8db42c878b0e0608717cec8e012269856e5934 Author: Arnaud VERSINI <arnaud.vers...@libreoffice.org> AuthorDate: Sat Apr 30 19:25:15 2022 +0200 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Wed May 4 06:04:52 2022 +0200 vcl : avoid recursive call if skia context creation failed. To avoid this bactrace : https://crashreport.libreoffice.org/stats/crash_details/4d1984f3-3352-49fa-8569-ebf6994ed216 Change-Id: I45ae8b56191c546c551ccaf48d5ab27a20b8e0e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133662 Tested-by: Jenkins Reviewed-by: Arnaud Versini <arnaud.vers...@libreoffice.org> diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx index c253ceb3a2df..82f25ad17c2d 100644 --- a/vcl/skia/gdiimpl.cxx +++ b/vcl/skia/gdiimpl.cxx @@ -301,7 +301,7 @@ void SkiaSalGraphicsImpl::createWindowSurface(bool forceRaster) createWindowSurfaceInternal(forceRaster); if (!mSurface) { - switch (renderMethodToUse()) + switch (forceRaster ? RenderRaster : renderMethodToUse()) { case RenderVulkan: SAL_WARN("vcl.skia",