Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.4.2
-
None
-
Windows 7 / Qt 5.4.2 / msvc2013_64bit_opengl
Description
I had a code working on Qt 5.2.1 with msvc2012. When I passed to 5.4.2 with mscv 2013, it starts bugging.
My QOpenGLFrameBufferObject, even just after a call to bind, return false on isBound, but return true on isValid.
I use 4 QGLWidget, with depth and color buffer.
The following code is called in a subfunction of paintGL, so the context is on the widget.
pickingFbo = new QOpenGLFramebufferObject(width(), height(), QOpenGLFramebufferObject::CombinedDepthStencil, GL_TEXTURE_RECTANGLE);
pickingFbo->release();
qDebug() << "pickingFbo->bind()" << pickingFbo->bind() << pickingFbo->isBound() << pickingFbo->isValid();
//prints true false true.