You can set env var OSG_GL_ERROR_CHECKING to ON to get same behavior. Cheers
24.01.2012, 19:04, "Martin Haffner" <[email protected]>: > Hi, > > I am constantly getting this console output when I run my osg application: > >> Warning: detected OpenGL error 'invalid value' at after RenderBin::draw(..) > > I wanted to try to find the source for this error by calling > osg::State::setCheckForGLErrors(osg:State::ONCE_PER_ATTRIBUTE); > but unfortunately I have no idea how to get such a State pointer. > I have a graph and of course I can fetch a StateSet from every node. But how > do I get a State object? > > Thank you! > > Cheers, > Martin > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=44993#44993 > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

