From 606a32685ed64b98e285be357fe9ace317edd3f4 Mon Sep 17 00:00:00 2001 From: mmurrian <59980109+mmurrian@users.noreply.github.com> Date: Thu, 7 Apr 2022 09:37:36 -0400 Subject: [PATCH] Update DisplaySettings.cpp DisplaySettings::setDisplaySettings sets _shaderHint from itself (potentially uninitialized) --- src/osg/DisplaySettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/DisplaySettings.cpp b/src/osg/DisplaySettings.cpp index aaf9638bb..2a9c18a9b 100644 --- a/src/osg/DisplaySettings.cpp +++ b/src/osg/DisplaySettings.cpp @@ -120,7 +120,7 @@ void DisplaySettings::setDisplaySettings(const DisplaySettings& vs) _vertexBufferHint = vs._vertexBufferHint; - setShaderHint(_shaderHint); + setShaderHint(vs._shaderHint); _keystoneHint = vs._keystoneHint; _keystoneFileNames = vs._keystoneFileNames;