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

QOpenGLTexture cannot destroy() texture on sharedcontext

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.5.0
    • GUI: OpenGL
    • None
    • 007c60e193285be1a6a51b252bd80aae45d5c809

    Description

      "To set up sharing between QOpenGLWidget instances belonging to different windows, set the Qt::AA_ShareOpenGLContexts application attribute before instantiating QApplication. This will trigger sharing between all QOpenGLWidget instances without any further steps."

      I set QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); I can draw the texture on any window, yet I can't call destroy() on a qopengltexture without error.

      Requires a valid current OpenGL context.
      Texture has not been destroyed

      Please2Fix

      Attachments

        For Gerrit Dashboard: QTBUG-47521
        # Subject Branch Project Status CR V

        Activity

          People

            lagocs Laszlo Agocs
            fundies fundies funderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes