Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54383

QOpenGLFrameBufferObject bug on Qt 5.4.2 / msvc2013 64bit openGL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.4.2
    • GUI: OpenGL
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            coudra Coudra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes