Doc: Clarify what samples() returns if not explicitly set

Change-Id: Icf4478121a9d67356eb976039c666d6945a2099c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Andy Shaw 2018-10-03 15:55:06 +02:00
parent 9933511838
commit 38b87cc4bb

View File

@ -319,7 +319,8 @@ void QSurfaceFormat::setStereo(bool enable)
/*! /*!
Returns the number of samples per pixel when multisampling is Returns the number of samples per pixel when multisampling is
enabled. By default, multisampling is disabled. enabled, or \c -1 when multisampling is disabled. The default
return value is \c -1.
\sa setSamples() \sa setSamples()
*/ */