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

QOpenGLTexture.destroy() unwanted warning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.3.1
    • 5.3.0 Beta1
    • GUI: OpenGL
    • None
    • Win 8.1 x64, VS2013, OpenGL

    Description

      Calling QOpenGLTexture.destroy(), or deleting a QOpenGLTexture object if no texture was actually created triggers an unwanted warning:
      "Requires a valid current OpenGL context.
      Texture has not been destroyed"

      The problem has nothing to do with the OpenGL contex, and we should be able to destroy multiple times or delete the object (without an actual texture being created) without getting this warning.

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            divide Robin Lobel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes