summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <lagocs83@gmail.com>2012-09-05 12:18:15 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-20 07:04:11 +0200
commit562d6ff90f693e43086b286b6e4b2bf2e581e111 (patch)
tree471f874262efed6be8b774e360f67380c602b2f4
parentaac24582c623a87b65733151b5f6af9771862b66 (diff)
Do not refer to non-existant member in QSurfaceFormat docs
Sample buffers should be enabled automatically under the hood when samples is > 0 and therefore the getter and setter are gone. Change-Id: I9cd6438e89060f901598a6aacacb99362fac4718 Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
-rw-r--r--src/gui/kernel/qsurfaceformat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qsurfaceformat.cpp b/src/gui/kernel/qsurfaceformat.cpp
index 4851ba225b..6da2e4d16f 100644
--- a/src/gui/kernel/qsurfaceformat.cpp
+++ b/src/gui/kernel/qsurfaceformat.cpp
@@ -290,7 +290,7 @@ void QSurfaceFormat::setStereo(bool enable)
Returns the number of samples per pixel when multisampling is
enabled. By default, multisampling is disabled.
- \sa setSampleBuffers(), sampleBuffers(), setSamples()
+ \sa setSamples()
*/
int QSurfaceFormat::samples() const
{
@@ -301,7 +301,7 @@ int QSurfaceFormat::samples() const
Set the preferred number of samples per pixel when multisampling
is enabled to \a numSamples. By default, multisampling is disabled.
- \sa setSampleBuffers(), sampleBuffers(), samples()
+ \sa samples()
*/
void QSurfaceFormat::setSamples(int numSamples)
{