diff options
-rw-r--r-- | src/widgets/kernel/qopenglwidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/kernel/qopenglwidget.cpp b/src/widgets/kernel/qopenglwidget.cpp index 2abddd8941..524597f7a1 100644 --- a/src/widgets/kernel/qopenglwidget.cpp +++ b/src/widgets/kernel/qopenglwidget.cpp @@ -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 |