When creating a QGLWidget you can pass its constructor a pointer to another QGLWidget to mutually share a context.
QGLWidget::QGLWidget ( QWidget * parent = 0, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 )
To copy to clipboard, switch view to plain text mode
What does it mean to pass in a QGLContext and another QGLWidget, as in the following constructor.
QGLWidget::QGLWidget ( QGLContext * context, QWidget * parent = 0, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0 )
To copy to clipboard, switch view to plain text mode
Bookmarks