Hi Carsten, On Fri, Nov 2, 2012 at 10:36 AM, Carsten Neumann <carsten_neum...@gmx.net> wrote: > > partially ;) > OSGQGLWidget intercepts the virtual functions of QGLWidget that normally > call initializeGL() (those seem to be: resizeEvent(), paintEvent(), > glDraw()). > > Gerrit: do you recall why you've overridden those functions? In a quick test > it seems to work to not override them and remove the assert in > OSGQGLWidget::GLContext::makeCurrent(). > This makes sure initializeGL() gets called again, which seems useful as it > makes our OSGQGLWidget behave more like the base QGLWidget. > How about the attached patch that implements this?
We override anything that makes the GL context current to avoid stealing it away from a parallel thread, which QT likes to do... Yours Dirk ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users