summaryrefslogtreecommitdiffstats
path: root/qmake/main.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2019-03-08 10:55:14 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2019-03-30 19:22:17 +0000
commit28a264cfe2d161f2eba3b1efa3ea4985445cd2de (patch)
tree911b8189c4869721f89c5574623172ddcd0ff238 /qmake/main.cpp
parent387f120bf9d6c718796efe5d0db772abc71ab442 (diff)
Fix alpha blending regression with WA_StacksOnTop QOpenGLWidgets
0bc42886898 in Qt 5.6 introduced support for premultiplied alpha in the raster-rendered QWidget content. Unfortunately this introduced a regression for OpenGL content from QOpenGLWidgets with WA_StacksOnTop set: these used standard alpha blending in 5.5 and earlier, and switching them to premultiplied (in case the - unrelated - raster content has a _Premultiplied QImage format) breaks all content that was done with non-premultiplied alpha in mind, for example the qopenglwidget example's "Transparent background" checkbox. Restore the pre-5.6 behavior. Fixes: QTBUG-74285 Change-Id: I76fcadd53cd436efa2b619b8d6739270995d044f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'qmake/main.cpp')
0 files changed, 0 insertions, 0 deletions