Skip to content

[windowthumbnail] Verify that the relevant GLContext exists

David Edmundson requested to merge work/glcontext_window into master

glXGetCurrentContext checks if any GLContext exists and is current.

resolveGLXFunctions uses window()->openglContext()

One can hit a situation that you are using software rendering for the window, yet someone else has created a GL Context. This then passes the first test, but we then try to use a null object and crash.

Merge request reports

Loading