Re: [osg-users] QT GL widget: switch to full screen vanishes scene graph parts
Hi, quite not sure what happens to gl objects when switching QT widget to fullscreen, I found a solution. A node visitor calling releaseGLObjects() on drawables does the trick. Thank you! Cheers, Maurice -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22930#22930 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] QT GL widget: switch to full screen vanishes scene graph parts
Hi, i am using a QT widget inherited from osgViewer::Viewer and QGLWidget. Scenegraph works fine until switching to full screen mode with the QT showFullScreen(). Parts of my scenegraph are not drawn any more although a debug write to an osg file shows the complete tree as before the switch. Could it be I have to preserve the GL context or have display lists/vertex arrays recompiled? Thank you! Cheers, Maurice -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22812#22812 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org