mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-17 01:10:10 +00:00
Make uniform a signed int again
This commit is contained in:
parent
d282fdb77a
commit
8c92f6ee87
@ -104,7 +104,7 @@ namespace SceneUtil
|
||||
stateset.setTextureAttribute(i, fakeShadowMapTexture,
|
||||
osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE | osg::StateAttribute::PROTECTED);
|
||||
stateset.addUniform(new osg::Uniform(
|
||||
("shadowTexture" + std::to_string(i - mShadowSettings->getBaseShadowTextureUnit())).c_str(), i));
|
||||
("shadowTexture" + std::to_string(i - mShadowSettings->getBaseShadowTextureUnit())).c_str(), static_cast<int>(i)));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user