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;