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

[Windows]: When calling glGetIntegerv with RESET_NOTIFICATION_STRATEGY_ARB it will fail with GL_INVALID_ENUM on OpenGL 3.0

    XMLWordPrintable

    Details

    • Commits:
      1be4f6c32c9846a2343f94628ba9704cf22ec5b1 (qt/qtbase/5.12)

      Description

      [Windows]: When calling glGetIntegerv with RESET_NOTIFICATION_STRATEGY_ARB it will fail with GL_INVALID_ENUM on OpenGL 3.0. The reason this occurs is because it is available as an extension from 3.2 and is not in the core profile until 4.0.

      Therefore the code in QWindowsOpenGLContextFormat::current(), specifically:

      QOpenGLStaticContext::opengl32.glGetIntegerv(RESET_NOTIFICATION_STRATEGY_ARB, &value);
      

      needs to be moved after it can be checked that it would be available.

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes