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>
This commit is contained in:
Laszlo Agocs 2012-09-05 12:18:15 +03:00 committed by The Qt Project
parent aac24582c6
commit 562d6ff90f

View File

@ -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)
{