MantisBT - VTK
View Issue Details
0012702VTK(No Category)public2011-11-03 10:122013-04-05 20:32
CJ Bourn 
Leo Liu 
normalminorhave not tried
closedfixed 
5.6.1 
 
TBD
incorrect functionality
0012702: vtkWin32OpenGLRenderWindow does not initialize all members
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.
No tags attached.
cxx vtkWin32OpenGLRenderWindow.cxx (43,861) 2011-11-03 10:12
https://www.vtk.org/Bug/file/9062/vtkWin32OpenGLRenderWindow.cxx
Issue History
2011-11-03 10:12CJ BournNew Issue
2011-11-03 10:12CJ BournFile Added: vtkWin32OpenGLRenderWindow.cxx
2012-01-23 10:04Utkarsh AyachitAssigned To => Leo Liu
2012-01-23 10:04Utkarsh AyachitStatusbacklog => tabled
2012-01-27 16:44Leo LiuNote Added: 0027998
2012-01-27 16:44Leo LiuStatustabled => customer review
2012-01-27 16:44Leo LiuResolutionopen => fixed
2013-04-05 20:32Berk GeveciStatuscustomer review => closed

Notes
(0027998)
Leo Liu   
2012-01-27 16:44   
This is fixed. When you already build with VTK_USE_OFFSCREEN, You shouldn't have to call toggle OffscreenSupport off anymore.