summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/matrix/matrix.cpp
diff options
context:
space:
mode:
authorDmitry Kazakov <dimula73@gmail.com>2019-04-04 19:30:26 +0300
committerShawn Rutledge <shawn.rutledge@qt.io>2019-05-07 09:56:17 +0000
commitdffad7e3cca60c88435e569fb82774e170c156a9 (patch)
treee7f823a6dd0532266652954f708209e0b97b14b4 /src/gui/doc/snippets/matrix/matrix.cpp
parent7e5b35935e0b85943de10ab80b54a4b77b3559b6 (diff)
Fix swizzling when rendering QPainter on QOpenGLWidget with Angle
OpenGLES specification does not support GL_TEXTURE_SWIZZLE_RGBA, it supports only per-channel calls. And since Qt supports QpenGLES, it should use the latter approach only. The regression was introduced in Qt 5.12 by commit ede3791df8330ed8daae6667d025ad40219a9f5f Task-number: QTBUG-74968 Change-Id: I9c531b248715992fb30df6af95dfa605e2ee2a25 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/matrix/matrix.cpp')
0 files changed, 0 insertions, 0 deletions