summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-09-27 11:08:55 +0200
committerLiang Qi <liang.qi@qt.io>2018-09-27 11:08:55 +0200
commitd0fcaa7eaaae85ddbf0a78efa59b341380c101a4 (patch)
tree9b3422ae33ef9dfcda0af228c56c3d2eeed7b0c3 /src/gui/painting/qdrawhelper.cpp
parentf6ce2d42b3cbe049ebcf1a2349a5cd4dde2c6d24 (diff)
parent5e64957ee4162ecf4456306a530a68761c2b127f (diff)
Merge remote-tracking branch 'origin/5.11' into 5.12
Conflicts: src/corelib/global/qconfig-bootstrapped.h src/widgets/util/qcompleter.cpp Change-Id: I4f44f0f074982530f2f2e750ce696230b2754cf3
Diffstat (limited to 'src/gui/painting/qdrawhelper.cpp')
-rw-r--r--src/gui/painting/qdrawhelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp
index 4b1031daaf..0264059a5c 100644
--- a/src/gui/painting/qdrawhelper.cpp
+++ b/src/gui/painting/qdrawhelper.cpp
@@ -5205,8 +5205,10 @@ void qBlendTexture(int count, const QSpan *spans, void *userData)
case QImage::Format_RGB16:
proc = processTextureSpansRGB16[blendType];
break;
+#if defined(__SSE2__) || defined(__ARM_NEON__) || (Q_PROCESSOR_WORDSIZE == 8)
case QImage::Format_ARGB32:
case QImage::Format_RGBA8888:
+#endif
case QImage::Format_BGR30:
case QImage::Format_A2BGR30_Premultiplied:
case QImage::Format_RGB30: