diff options
Diffstat (limited to 'src/opengl/qgl.h')
-rw-r--r-- | src/opengl/qgl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h index ab2fd8d203..1d21b42cd5 100644 --- a/src/opengl/qgl.h +++ b/src/opengl/qgl.h @@ -281,6 +281,8 @@ public: QGLFormat requestedFormat() const; void setFormat(const QGLFormat& format); + void moveToThread(QThread *thread); + virtual void makeCurrent(); virtual void doneCurrent(); @@ -413,7 +415,7 @@ public: QGLFormat format() const; void setFormat(const QGLFormat& format); - const QGLContext* context() const; + QGLContext* context() const; void setContext(QGLContext* context, const QGLContext* shareContext = 0, bool deleteOldContext = true); |