Skip to content
  • Stereo QOpenGLWidget surface

    Solved General and Desktop qopenglwidget stereo buffers
    2
    0 Votes
    2 Posts
    1k Views
    S
    I worked it out. It was because the QOpenGLWidget uses an FBO under the hood, and so all calls get redirected to it. I guess Qt doesn't then do any special mapping of FBO color attachments to display buffers to allow for GL_BACK_LEFT and friends to continue working seamlessly. Solution was to use a QOpenGLWindow instead, and I'm hoping that QWidget::createWindowContainer() will let me continue to work as expected.
  • 0 Votes
    4 Posts
    2k Views
    SGaistS
    Hi and welcome to devnet, If you can reproduce that with a minimal compilable example then it likely is