Fix new splash screen with Rembrandt enabled
Stray depth-test state was causing the splash quad to be discarded.
This commit is contained in:
parent
faf872e7f7
commit
327f59a105
1 changed files with 2 additions and 2 deletions
|
@ -224,7 +224,7 @@ void SplashScreen::createNodes()
|
||||||
stateSet->setAttribute(new osg::BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA), osg::StateAttribute::ON);
|
stateSet->setAttribute(new osg::BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA), osg::StateAttribute::ON);
|
||||||
stateSet->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
|
stateSet->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
|
||||||
stateSet->setRenderBinDetails(1, "RenderBin");
|
stateSet->setRenderBinDetails(1, "RenderBin");
|
||||||
|
stateSet->setMode(GL_DEPTH_TEST, osg::StateAttribute::OFF);
|
||||||
geometry = new osg::Geometry;
|
geometry = new osg::Geometry;
|
||||||
geometry->setSupportsDisplayList(false);
|
geometry->setSupportsDisplayList(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue