[vtk-developers] [VTK 0012702]: vtkWin32OpenGLRenderWindow does not initialize all members

Mantis Bug Tracker mantis at public.kitware.com
Thu Nov 3 10:12:34 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=12702 
====================================================================== 
Reported By:                CJ Bourn
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   12702
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-11-03 10:12 EDT
Last Modified:              2011-11-03 10:12 EDT
====================================================================== 
Summary:                    vtkWin32OpenGLRenderWindow does not initialize all
members
Description: 
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-11-03 10:12 CJ Bourn       New Issue                                    
2011-11-03 10:12 CJ Bourn       File Added: vtkWin32OpenGLRenderWindow.cxx      
             
======================================================================




More information about the vtk-developers mailing list