summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/painting/qrgba64_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qrgba64_p.h b/src/gui/painting/qrgba64_p.h
index d145dbfbea..0a19604c5d 100644
--- a/src/gui/painting/qrgba64_p.h
+++ b/src/gui/painting/qrgba64_p.h
@@ -195,7 +195,7 @@ Q_ALWAYS_INLINE uint toArgb32(uint16x4_t v)
}
#endif
-inline uint toArgb32(QRgba64 rgba64)
+Q_ALWAYS_INLINE uint toArgb32(QRgba64 rgba64)
{
#if defined __SSE2__
__m128i v = _mm_loadl_epi64((const __m128i *)&rgba64);
@@ -215,7 +215,7 @@ inline uint toArgb32(QRgba64 rgba64)
#endif
}
-inline uint toRgba8888(QRgba64 rgba64)
+Q_ALWAYS_INLINE uint toRgba8888(QRgba64 rgba64)
{
#if defined __SSE2__
__m128i v = _mm_loadl_epi64((const __m128i *)&rgba64);