Add a note about winId() to QOpenGLWidget docs

Task-number: QTBUG-40765
Change-Id: I0dbb010bb96c6b41c67392b8846782a354481e5e
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
This commit is contained in:
Laszlo Agocs 2014-09-15 14:38:41 +02:00
parent f72895361d
commit 1e41e9b77d

View File

@ -244,6 +244,9 @@ QT_BEGIN_NAMESPACE
contents. Omitting the clear call can lead to significant performance drops on
such systems.
\note Avoid calling winId() on a QOpenGLWidget. This function triggers the creation of
a native window, resulting in reduced performance and possibly rendering glitches.
\section1 Multisampling
To enable multisampling, set the number of requested samples on the