summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglbuffer.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/qglbuffer.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/qglbuffer.cpp')
-rw-r--r--src/opengl/qglbuffer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qglbuffer.cpp b/src/opengl/qglbuffer.cpp
index bdfc152cd9..6798f1e4e7 100644
--- a/src/opengl/qglbuffer.cpp
+++ b/src/opengl/qglbuffer.cpp
@@ -51,6 +51,7 @@ QT_BEGIN_NAMESPACE
\class QGLBuffer
\brief The QGLBuffer class provides functions for creating and managing GL buffer objects.
\since 4.7
+ \obsolete
\ingroup painting-3D
Buffer objects are created in the GL server so that the
@@ -70,6 +71,8 @@ QT_BEGIN_NAMESPACE
QGLBuffer performs a shallow copy when objects are copied in this
manner, but does not implement copy-on-write semantics. The original
object will be affected whenever the copy is modified.
+
+ \note This class has been deprecated in favor of QOpenGLBuffer.
*/
/*!