Eliminate unused uniform

This commit is contained in:
AnyOldName3 2024-02-20 23:10:03 +00:00
parent 132c43affa
commit d282fdb77a
3 changed files with 0 additions and 12 deletions

View file

@ -105,8 +105,6 @@ namespace SceneUtil
osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE | osg::StateAttribute::PROTECTED);
stateset.addUniform(new osg::Uniform(
("shadowTexture" + std::to_string(i - mShadowSettings->getBaseShadowTextureUnit())).c_str(), i));
stateset.addUniform(new osg::Uniform(
("shadowTextureUnit" + std::to_string(i - mShadowSettings->getBaseShadowTextureUnit())).c_str(), i));
}
}