First, thank you for your fast answer... @robert: This is what I also supposed. When I took once again a look at your osgviewerGLUT demo I figured out that this demo closes the viewer with
Code: if (viewer.valid()) viewer=0; I did the same in my example and now everything works fine. But is this a proper way to close an embedded window viewer? @Christian This shouldn't be the problem because I use an nvidia card and the common shader demos work fine. So, my problem is solved now, but maybe someone could tell me, if there are some more steps to properly close an embedded viewer? ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13104#13104 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org