diff options
Diffstat (limited to 'src/gui/kernel/qopenglwindow.h')
-rw-r--r-- | src/gui/kernel/qopenglwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qopenglwindow.h b/src/gui/kernel/qopenglwindow.h index 3b0b399b0a..6b64271b7b 100644 --- a/src/gui/kernel/qopenglwindow.h +++ b/src/gui/kernel/qopenglwindow.h @@ -59,6 +59,7 @@ public: }; explicit QOpenGLWindow(UpdateBehavior updateBehavior = NoPartialUpdate, QWindow *parent = 0); + explicit QOpenGLWindow(QOpenGLContext *shareContext, UpdateBehavior updateBehavior = NoPartialUpdate, QWindow *parent = 0); UpdateBehavior updateBehavior() const; bool isValid() const; @@ -67,6 +68,7 @@ public: void doneCurrent(); QOpenGLContext *context() const; + QOpenGLContext *shareContext() const; GLuint defaultFramebufferObject() const; |