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

    • 1be4f6c32c9846a2343f94628ba9704cf22ec5b1 (qt/qtbase/5.12)

      [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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes