It took me a while but I finaly found the solution.
Though I couldn't find anything on google I post it here so that it will hopefully help someone who encounters this problem. The source of the problem is that the Viewer Class which initializes the OpenGL Graphics Context is derived from QGLWidget. Which for itself sets the Pixelformat. This is only a Problem for the combination of Windows and NVidia cards with all the driver Versions I tested. The SetPixelFormat crashes because it can be called only once for each device context.
So the solution is to derive only from QWidget instead of QGLWidget.

Cheers,
Robin
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to