vtkWin32OpenGLRenderWindow does not initialize all members
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The vtkWin32OpenGLRenderWindow class does not initialize the following members:
this->ScreenMapped = 0; this->ScreenWindowSize[0] = 0; this->ScreenWindowSize[1] = 0; this->ScreenDoubleBuffer = 1; this->ScreenContextId = 0;
If you build the VTK with offScreen support and toggle OffscreenSupport off (when it is already off), the ContextId of the class will be filled with stack junk.
Fixed file attached. Also a problem in 5.8.0.