Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10
-
None
-
Windows, opengl es 2.0
Description
The function QOpenGLTexture::allocateStorage used by Qt3D overrides a RGB pixel format with a RGBA pixel format thus making it impossible to create a valid RGB8_UNorm texture through Qt3D api with custom QTextureImageDataGenerator and QTextureImageData.
Tested on windows, opengl es 2.0
The problem is in function pixelFormatCompatibleWithInternalFormat (qopengltexture.cpp: 780).
The related commit is: http://code.qt.io/cgit/qt/qtbase.git/commit/?id=0c789184c7c7a7130346206e4abbcffc0858dfd7
So it possibly affect all qt version > 5.3
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-66365 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
220028,3 | Fix creation of RGB texture with QOpenGLTexture/Qt3D on OpenGL ES 2.0 | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |