summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-09-22 17:12:01 +0200
committerLuboš Luňák <l.lunak@collabora.com>2020-09-23 08:44:54 +0200
commit6a3a17c8dcd860506781b28b14c3df7036eaaaba (patch)
tree011a1bbff2a80e5547beadd99450dabf1e11552e
parentc18356b49ce2f2a4f097b91cb74d578f9976d4d7 (diff)
createSurface() should be enough if the surface doesn't exist yet
Change-Id: Ic390b94e6140169d878b428c782e03c29cce0ea2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103184 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
-rw-r--r--vcl/skia/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx
index bf9fab349d1c..8f73db8411fa 100644
--- a/vcl/skia/gdiimpl.cxx
+++ b/vcl/skia/gdiimpl.cxx
@@ -421,7 +421,7 @@ void SkiaSalGraphicsImpl::checkSurface()
{
if (!mSurface)
{
- recreateSurface();
+ createSurface();
SAL_INFO("vcl.skia.trace",
"create(" << this << "): " << Size(mSurface->width(), mSurface->height()));
}