diff options
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r-- | src/opengl/qgl.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 0cb4ccd416..eae9a4c228 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -2168,6 +2168,9 @@ QGLContext::QGLContext(QOpenGLContext *context) d->setupSharing(); } +/*! + Returns the OpenGL context handle. +*/ QOpenGLContext *QGLContext::contextHandle() const { Q_D(const QGLContext); @@ -2175,7 +2178,7 @@ QOpenGLContext *QGLContext::contextHandle() const } /*! - Returns a OpenGL context for the window context specified by the \a context + Returns an OpenGL context for the window context specified by the \a context parameter. */ QGLContext *QGLContext::fromOpenGLContext(QOpenGLContext *context) @@ -4354,6 +4357,9 @@ void QGLWidget::resizeOverlayGL(int, int) { } +/*! + Handles the event \a e passed as a parameter. +*/ bool QGLWidget::event(QEvent *e) { Q_D(QGLWidget); |