Update DisplaySettings.cpp

DisplaySettings::setDisplaySettings sets _shaderHint from itself (potentially uninitialized)
This commit is contained in:
mmurrian 2022-04-07 09:37:36 -04:00 committed by Robert Osfield
parent 06558a5dda
commit 606a32685e

View File

@ -120,7 +120,7 @@ void DisplaySettings::setDisplaySettings(const DisplaySettings& vs)
_vertexBufferHint = vs._vertexBufferHint;
setShaderHint(_shaderHint);
setShaderHint(vs._shaderHint);
_keystoneHint = vs._keystoneHint;
_keystoneFileNames = vs._keystoneFileNames;