Properly deprecated QGLFramebufferObject and QGLFramebufferObjectFormat
authorSamuel Rødal <samuel.rodal@digia.com>
Tue, 27 Nov 2012 13:49:39 +0000 (14:49 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 27 Nov 2012 14:41:45 +0000 (15:41 +0100)
Change-Id: I9affdcce0988e3538c8a7a696999a7cf8c3448aa
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/opengl/qglframebufferobject.cpp

index efc6690..5f35136 100644 (file)
@@ -126,7 +126,7 @@ extern QImage qt_gl_read_framebuffer(const QSize&, bool, bool);
     after creating a QGLFramebufferObject to find the exact format that was
     used to create the frame buffer object.
 
-    \note This class has been deprecated in favor of QOpenGLFramebufferObject.
+    \note This class has been deprecated in favor of QOpenGLFramebufferObjectFormat.
 
     \sa QGLFramebufferObject
 */
@@ -703,6 +703,8 @@ void QGLFramebufferObjectPrivate::init(QGLFramebufferObject *q, const QSize &sz,
     \brief The QGLFramebufferObject class encapsulates an OpenGL framebuffer object.
     \since 4.2
 
+    \obsolete
+
     \ingroup painting-3D
 
     The QGLFramebufferObject class encapsulates an OpenGL framebuffer
@@ -774,6 +776,8 @@ void QGLFramebufferObjectPrivate::init(QGLFramebufferObject *q, const QSize &sz,
     using a QPainter in a separate thread. Note that OpenGL 2.0 or
     OpenGL ES 2.0 is required for this to work.
 
+    \note This class has been deprecated in favor of QOpenGLFramebufferObject.
+
     \sa {Framebuffer Object Example}
 */