summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qgl.h')
-rw-r--r--src/opengl/qgl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index a12cddcca4..665dcac412 100644
--- a/src/opengl/qgl.h
+++ b/src/opengl/qgl.h
@@ -338,8 +338,8 @@ public:
static const QGLContext* currentContext();
- static QGLContext *fromGuiGLContext(QGuiGLContext *platformContext);
- QGuiGLContext *contextHandle() const;
+ static QGLContext *fromOpenGLContext(QOpenGLContext *platformContext);
+ QOpenGLContext *contextHandle() const;
protected:
virtual bool chooseContext(const QGLContext* shareContext = 0);
@@ -359,7 +359,7 @@ protected:
static QGLContext* currentCtx;
private:
- QGLContext(QGuiGLContext *windowContext);
+ QGLContext(QOpenGLContext *windowContext);
QScopedPointer<QGLContextPrivate> d_ptr;