Skip to content

Fix issue with some driver when performing action before opening a render view

Michael Migliore requested to merge michael.migliore/vtk:fix-context-ogl2 into master

With some drivers, glXCreateContextAttribsARB does not returns NULL on failure even if it should according to OpenGL specifications.
This MR forces the context to NULL if an error occurs.

Edited by Michael Migliore

Merge request reports