Doc: Document *QRhi::create() fail behahvior
Fixes: QTBUG-126263 Pick-to: 6.7 Change-Id: Ic01843a5937c1430d24989c2de24023d4c4655ca Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit 1d3ca12338bcefe21205fac46a39ce9989995d55) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
e596ce1285
commit
df192e7874
@ -8460,7 +8460,8 @@ void QRhiImplementation::prepareForCreate(QRhi *rhi, QRhi::Implementation impl,
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\return a new QRhi instance with a backend for the graphics API specified
|
\return a new QRhi instance with a backend for the graphics API specified
|
||||||
by \a impl with the specified \a flags.
|
by \a impl with the specified \a flags. \return \c nullptr if the
|
||||||
|
function fails.
|
||||||
|
|
||||||
\a params must point to an instance of one of the backend-specific
|
\a params must point to an instance of one of the backend-specific
|
||||||
subclasses of QRhiInitParams, such as, QRhiVulkanInitParams,
|
subclasses of QRhiInitParams, such as, QRhiVulkanInitParams,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user