Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
5.12.0, 5.12.2
-
None
Description
With Angle openGL implementation, when drawing with QPainter on QOpenGLWindget that has surface type set to GL_RGBA16F, R and B color channels are swapped. Red is painted as Blue and vice versa.
The problem is caused by commit ede3791df8330ed8daae6667d025ad40219a9f5f that introduced usage of GL_TEXTURE_SWIZZLE_RGBA, which is not supported by OpenGL ES standard.
Original bugreport in Krita: https://bugs.kde.org/show_bug.cgi?id=406196
I'll try to come up with a fix.
Attachments
Issue Links
- relates to
-
QTBUG-74150 Texture colors appear inverted on android
-
- Closed
-
For Gerrit Dashboard: QTBUG-74968 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
258193,5 | Fix swizzling when rendering QPainter on QOpenGLWidget with Angle | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |