Doc: Fix typo in QSurfaceFormat::setDefaultFormat documentation

Fixes: QTBUG-107486
Pick-to: 6.7 6.5
Change-Id: Id22cedfa65e831574f683a33a4c2fde20570890e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Andy Nichols 2024-02-26 13:25:48 +01:00 committed by Andy Nichols
parent 4a705f5f29
commit d83b535068

View File

@ -765,7 +765,7 @@ Q_GLOBAL_STATIC(QSurfaceFormat, qt_default_surface_format)
question's own setFormat() function. However, it is often more convenient to
set the format for all windows once at the start of the application. It also
guarantees proper behavior in cases where shared contexts are required,
because settings the format via this function guarantees that all contexts
because setting the format via this function guarantees that all contexts
and surfaces, even the ones created internally by Qt, will use the same
format.