[osg-users] Migration from OSG 3.1.5 to 3.4.0 / Qt 4 to Qt 5

Andrew Cunningham andrewC at mac.com
Mon Jan 4 14:46:15 PST 2016

I was able to fix it  by adding the following to my root object state...

state->setMode( GL_DEPTH_TEST, osg::StateAttribute::ON );

Not sure why this was needed in QT5/OSG as I thought it was the default...

Read this topic online here:

More information about the osg-users mailing list