Implemented most of the changes required for supporting multitexturing in
the osg::State/osg::StateSet/osg::StateAttribute and related classes.
This commit is contained in:
@@ -29,7 +29,7 @@ void LightSource::setStateSetModes(StateSet& stateset,const StateAttribute::GLMo
|
||||
{
|
||||
if (_light.valid())
|
||||
{
|
||||
_light->setStateSetModes(stateset,value);
|
||||
stateset.setAssociatedModes(_light.get(),value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user