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

QGLContext::isSharing() doesn't revert to false when no longer sharing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.6.0
    • 4.6.0
    • GUI: OpenGL
    • None
    • 0e74cc3e1a05147a8ae9c1c4be7c9f836da1acf3

      1. Create a QGLContext, isSharing() will be false.
      2. Create a second QGLContext that shares with the first, both contexts will have isSharing() == true.
      3. Delete either QGLContext.
      4. The other QGLContext still reports isSharing() == true.

      Probably should use the size of the m_shares list in the QGLContextGroup to determine if a context is sharing rather than a flag set by QGLContext::chooseContext().

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

            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes