summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglfunctions.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-09-14 10:47:57 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-14 11:46:39 +0200
commitd086c2abafdd0dde1a2b05635cb3c3db26ab8969 (patch)
tree1697359679bff4f582df19311859dd98bc5dbc1d /src/opengl/qglfunctions.cpp
parent6a15a784f494ffa19eb08bad72328302f61c3499 (diff)
Documented QtOpenGL classes that have better replacements as obsolete.
These have new replacements in QtGui since Qt 5.0. Change-Id: I20e8fdd4e9c14d8c626eda3072217af1858bf492 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/opengl/qglfunctions.cpp')
-rw-r--r--src/opengl/qglfunctions.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qglfunctions.cpp b/src/opengl/qglfunctions.cpp
index 5649092593..5bdd24ccc8 100644
--- a/src/opengl/qglfunctions.cpp
+++ b/src/opengl/qglfunctions.cpp
@@ -49,6 +49,7 @@ QT_BEGIN_NAMESPACE
\class QGLFunctions
\brief The QGLFunctions class provides cross-platform access to the OpenGL/ES 2.0 API.
\since 4.8
+ \obsolete
\ingroup painting-3D
OpenGL/ES 2.0 defines a subset of the OpenGL specification that is
@@ -117,6 +118,8 @@ QT_BEGIN_NAMESPACE
QGLFunctions funcs(QGLContext::currentContext());
bool npot = funcs.hasOpenGLFeature(QGLFunctions::NPOTTextures);
\endcode
+
+ \note This class has been deprecated in favor of QOpenGLFunctions.
*/
/*!