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:
parent
4a705f5f29
commit
d83b535068
@ -765,7 +765,7 @@ Q_GLOBAL_STATIC(QSurfaceFormat, qt_default_surface_format)
|
|||||||
question's own setFormat() function. However, it is often more convenient to
|
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
|
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,
|
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
|
and surfaces, even the ones created internally by Qt, will use the same
|
||||||
format.
|
format.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user