summaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/patch-vcl_skia_gdiimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editors/libreoffice/files/patch-vcl_skia_gdiimpl.cxx')
-rw-r--r--editors/libreoffice/files/patch-vcl_skia_gdiimpl.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-vcl_skia_gdiimpl.cxx b/editors/libreoffice/files/patch-vcl_skia_gdiimpl.cxx
new file mode 100644
index 000000000000..ff2345b78a52
--- /dev/null
+++ b/editors/libreoffice/files/patch-vcl_skia_gdiimpl.cxx
@@ -0,0 +1,11 @@
+--- vcl/skia/gdiimpl.cxx.orig 2022-01-26 14:35:29 UTC
++++ vcl/skia/gdiimpl.cxx
+@@ -999,7 +999,7 @@ void SkiaSalGraphicsImpl::performDrawPolyPolygon(const
+ getDrawCanvas()->drawPath(polygonPath, aPaint);
+ }
+ postDraw();
+-#if defined LINUX
++#if defined LINUX || defined FREEBSD
+ // WORKAROUND: The logo in the about dialog has drawing errors. This seems to happen
+ // only on Linux (not Windows on the same machine), with both AMDGPU and Mesa,
+ // and only when antialiasing is enabled. Flushing seems to avoid the problem.