OpenGL errors occur when destroying vtkWin32OpenGLRenderWindow
This affects the OpenGL (old) backend.
OpenGL errors occur when destroying vtkWin32OpenGLRenderWindow:
Generic Warning: In VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx, line 52
failed after ReleaseAllLists 16 OpenGL errors detected
0 : (1282) Invalid operation
1 : (1282) Invalid operation
...
15 : (1282) Invalid operation
An example on the dashboard is https://open.cdash.org/testDetails.php?test=563728035&build=4963443.
This regressed in commit 49802a3d, which changed the behavior of vtkWin32OpenGLRenderWindow::CleanUpRenderers() to set the render window on each of the renderers to 'this'. Now, when the vtkWin32OpenGLRenderWindow destructor calls ren->SetRenderWindow(NULL), OpenGL errors occur because the OpenGL context is already destroyed.