summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-08-28 13:05:58 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-08-28 13:05:58 (GMT)
commit109302b76a6c23492f5a431953bc2f536b1b1ab4 (patch)
treea1d164b083de894cc93031333e309203b637e6dd
parent823601435d9a35fca6e6cf0d897b256c4591061b (diff)
parent47ebdcb8455191ffafcfcbf0b64878245494cbd0 (diff)
downloadQt-109302b76a6c23492f5a431953bc2f536b1b1ab4.zip
Qt-109302b76a6c23492f5a431953bc2f536b1b1ab4.tar.gz
Qt-109302b76a6c23492f5a431953bc2f536b1b1ab4.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
-rw-r--r--src/opengl/qglframebufferobject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/opengl/qglframebufferobject.cpp b/src/opengl/qglframebufferobject.cpp
index 52363cb..0db5659 100644
--- a/src/opengl/qglframebufferobject.cpp
+++ b/src/opengl/qglframebufferobject.cpp
@@ -516,12 +516,12 @@ void QGLFramebufferObjectPrivate::init(const QSize &sz, QGLFramebufferObject::At
framebuffer objects more portable.
\endlist
+ When using a QPainter to paint to a QGLFramebufferObject you should take
+ care that the QGLFramebufferObject is created with the CombinedDepthStencil
+ attachment for QPainter to be able to render correctly.
Note that you need to create a QGLFramebufferObject with more than one
sample per pixel for primitives to be antialiased when drawing using a
- QPainter, unless if the QPainter::HighQualityAntialiasing render hint is
- set. The QPainter::HighQualityAntialiasing render hint will enable
- antialiasing as long as the \c{GL_ARB_fragment_program} extension is
- present. To create a multisample framebuffer object you should use one of
+ QPainter. To create a multisample framebuffer object you should use one of
the constructors that take a QGLFramebufferObject parameter, and set the
QGLFramebufferObject::samples() property to a non-zero value.