[osg-users] OSG 3.4.0/QT 5.5 Warning "QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined"

Andrew Cunningham andrewC at mac.com
Mon Apr 4 14:21:50 PDT 2016


Hi,
When using OSG 3.4.0 and QT 5.5 and on the firstviewer->frame() of an OSGWidget I am getting this warning from QOpenGLContext. Subsequent calls to frame() do not show this warning.

Mr. Google suggests that a fix is to check the isExposed() flag on the underlying QWindow -  if it were possible to get to the QWindow via a public API.

Any suggestions?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66726#66726








More information about the osg-users mailing list