From ab3013cc2010ab6f4ba74e61a7997d4502f7cfac Mon Sep 17 00:00:00 2001 From: Mathieu Westphal <mathieu.westphal@kitware.com> Date: Tue, 17 Sep 2024 15:19:07 +0200 Subject: [PATCH] Fix vtkWebGPULight incorrect copy Issued introduced in a sweeping warning changes in https://gitlab.kitware.com/vtk/vtk/-/merge_requests/11430 --- Rendering/WebGPU/vtkWebGPULight.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/Rendering/WebGPU/vtkWebGPULight.cxx b/Rendering/WebGPU/vtkWebGPULight.cxx index 7e003350efc..c367b84c9ba 100644 --- a/Rendering/WebGPU/vtkWebGPULight.cxx +++ b/Rendering/WebGPU/vtkWebGPULight.cxx @@ -31,7 +31,6 @@ void vtkWebGPULight::CacheLightInformation(vtkRenderer* renderer, vtkCamera* cam li.Positional = 0; li.ConeAngle = 0; li.Exponent = 0; - std::memset(&li.Color, 0, sizeof(li.Color)); std::memset(&li.DirectionVC, 0, sizeof(li.DirectionVC)); std::memset(&li.PositionVC, 0, sizeof(li.PositionVC)); std::memset(&li.Attenuation, 0, sizeof(li.Attenuation)); -- GitLab