external/skia/source/skia_opts_internal.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 7d0e9168daba1411c15315a4d5f481ed1e5dc356 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Thu Sep 3 16:36:00 2020 +0200 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Thu Sep 3 21:14:44 2020 +0200 fix offsets in our SSSE3 Skia functions (tdf#136326) 'src' is uint32_t, so that extra '*4' was wrong. Change-Id: Ie0628a72bd4f7eb3122e4b1d67b6bb759f74bc46 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102007 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/external/skia/source/skia_opts_internal.hxx b/external/skia/source/skia_opts_internal.hxx index 3f9d79c22352..7b81c20da271 100644 --- a/external/skia/source/skia_opts_internal.hxx +++ b/external/skia/source/skia_opts_internal.hxx @@ -41,7 +41,7 @@ inline void RGB1_to_RGB(uint8_t dst[], const uint32_t* src, int count) { // Store 4 pixels. _mm_storeu_si128((__m128i*) dst, rgb); - src += 4*4; + src += 4; dst += 4*3; count -= 4; } @@ -62,7 +62,7 @@ inline void RGB1_to_gray_fast(uint8_t dst[], const uint32_t* src, int count) { // Store 4 pixels. _mm_storeu_si128((__m128i*) dst, rgb); - src += 4*4; + src += 4; dst += 4; count -= 4; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits