diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-07-30 00:32:38 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-07-30 00:32:38 (GMT) |
commit | a78355d08ca8e0ec6b5aee06438e5baa331ce285 (patch) | |
tree | b244b02160ae8d32d2958dbd237bbb324020ad26 /src/opengl | |
parent | b2c0b95d38b75035c60a20fdc6bfa5f47371f801 (diff) | |
download | Qt-a78355d08ca8e0ec6b5aee06438e5baa331ce285.zip Qt-a78355d08ca8e0ec6b5aee06438e5baa331ce285.tar.gz Qt-a78355d08ca8e0ec6b5aee06438e5baa331ce285.tar.bz2 |
qdoc fix: stencil buffer is enabled by default, not disabled
Stencil buffer has been enabled by default for quite some time
(2 years) but the documentation was still saying disabled.
Reviewed-by: bnilsen
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qgl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index edda6b6..f6bfcbe 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -526,7 +526,7 @@ void QGLFormat::setAccum(bool enable) \fn bool QGLFormat::stencil() const Returns true if the stencil buffer is enabled; otherwise returns - false. The stencil buffer is disabled by default. + false. The stencil buffer is enabled by default. \sa setStencil(), setStencilBufferSize() */ @@ -535,7 +535,7 @@ void QGLFormat::setAccum(bool enable) If \a enable is true enables the stencil buffer; otherwise disables the stencil buffer. - The stencil buffer is disabled by default. + The stencil buffer is enabled by default. The stencil buffer masks certain parts of the drawing area so that masked parts are not drawn on. |