summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-02-04 14:00:37 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-02-04 14:00:37 (GMT)
commite39feabbcdb10b47c7eaad14fe653e62280e6237 (patch)
tree7e2918fc7bf7eacbd26c8e377bfb8e59543c04fb /src/opengl
parent5f23d1635db832014b9d9acbf61e78ba52a9cc2f (diff)
downloadQt-e39feabbcdb10b47c7eaad14fe653e62280e6237.zip
Qt-e39feabbcdb10b47c7eaad14fe653e62280e6237.tar.gz
Qt-e39feabbcdb10b47c7eaad14fe653e62280e6237.tar.bz2
doc: Fixed some qdoc warnings.
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qgl.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index bb76f1a..97b1c2f 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -1085,8 +1085,9 @@ int QGLFormat::stencilBufferSize() const
/*!
\since 4.7
- Set the OpenGL version. If a context compatible with the requested OpenGL version
- cannot be created, a context compatible with version 1.x is created instead.
+ Set the OpenGL version to the \a major and \a minor numbers. If a
+ context compatible with the requested OpenGL version cannot be
+ created, a context compatible with version 1.x is created instead.
\sa majorVersion(), minorVersion()
*/
@@ -1129,8 +1130,9 @@ int QGLFormat::minorVersion() const
\enum QGLFormat::OpenGLContextProfile
\since 4.7
- This enum describes the OpenGL context profiles that can be specified for contexts implementing
- OpenGL version 3.2 or higher. These profiles are different from OpenGL ES profiles.
+ This enum describes the OpenGL context profiles that can be
+ specified for contexts implementing OpenGL version 3.2 or
+ higher. These profiles are different from OpenGL ES profiles.
\value NoProfile OpenGL version is lower than 3.2.
\value CoreProfile Functionality deprecated in OpenGL version 3.0 is not available.
@@ -1140,8 +1142,8 @@ int QGLFormat::minorVersion() const
/*!
\since 4.7
- Set the OpenGL context profile. The profile is ignored if the requested OpenGL
- version is less than 3.2.
+ Set the OpenGL context profile to \a profile. The \a profile is
+ ignored if the requested OpenGL version is less than 3.2.
\sa profile()
*/