Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 5.2.0
-
Fix Version/s: 5.4.0
-
Component/s: GUI: OpenGL
-
Labels:
-
Environment:Windows 8.1 x64
-
Commits:2d0072b0b3992b82385c72c2dad7e754d35e0bf7
Description
Using the default QOpenGLTexture example in initializeGL() crash the application (right after the QOpenGLTexture creation):
QOpenGLTexture *texture = new QOpenGLTexture(QImage(fileName).mirrored());
texture->setMinificationFilter(QOpenGLTexture::LinearMipMapLinear);
texture->setMagnificationFilter(QOpenGLTexture::Linear);
Happen with Qt 5.2.0 MSVC2012 x64 Angle.
Could not get QImage transferred to a QOpenGLTexture with setData either, same crash occur.