Building our app against VTK master now results in all VTK views being pure opaque red instead of showing whatever they would normally show. We git bisected it to:
commit 05f87557cd9fb6c20486398e2088fd70418276a3 (HEAD) Author: Utkarsh Ayachit <firstname.lastname@example.org> vtkOpenGLRenderWindow: bind default frame buffer vtkOpenGLRenderWindow never bound the default frame buffer when rendering began. While this is generally not necessary, if for some reason the bound frame buffer is changed then vtkOpenGLRenderWindow ends up rendering to incorrect frame buffer. Fixed that.
At runtime we also get this logged:
vtkOpenGLState.cxx:624 WARN| Error glEnable/Disable1 OpenGL errors detected
0 : (1286) Invalid framebuffer operation
We’ll debug more next week, but, Utkarsh, do you think maybe this commit of yours in incorrect?