Skip to content
  • Laszlo Agocs's avatar
    Destroy the FBO in QQuickWidget while a context is current · a9019adc
    Laszlo Agocs authored
    
    
    When creating the new FBO, it will try to restore the previous FBO
    after initialization. The internal tracking of the current FBO goes
    horribly wrong when a QOpenGLFramebufferObject is destroyed with
    no context current. In 5.4 the problem is solved by removing the
    tracking altogether. Here QQuickWidget is fixed to play nice and
    destroy QOpenGLFramebufferObject always with the context current.
    
    Task-number: QTBUG-39389
    Change-Id: Ic6917696ed61f284d661a578c9c7f2e0673c412d
    Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@jollamobile.com>
    a9019adc