From d086c2abafdd0dde1a2b05635cb3c3db26ab8969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Fri, 14 Sep 2012 10:47:57 +0200 Subject: 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 --- src/opengl/qglfunctions.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/opengl/qglfunctions.cpp') 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. */ /*! -- cgit v1.2.3