Skip to content

vtkCompositeSurfaceLICMapper: Add missing member initializers

Brad King requested to merge brad.king/vtk:fix-LIC-OpenGL2 into master

The LastOpaqueCheckTime member in particular is used by GetIsOpaque in a condition before being set and so must be initialized. Otherwise the condition may never be true and then the also-uninitialized value of LastOpaqueCheckValue will be used, leading to unpredictable rendering. Initialize all members to avoid such trouble.

Merge request reports

Loading