diff --git a/src/osg/DisplaySettings.cpp b/src/osg/DisplaySettings.cpp index ef2f0e93aff..fa14bc8767f 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;