• Utkarsh Ayachit's avatar
    qt: fix swapping buffer without making correct context current. · 36001042
    Utkarsh Ayachit authored
    When using a debug build of Qt, we would get warning messages like the
      QOpenGLContext::swapBuffers() called without corresponding
    These popped when resizing the widget, for example. This fixes that
    issue by ensuring that the context is current before issuing a
    swapBuffers call.
QVTKOpenGLWindow.cxx 18 KB