Doc: Document *QRhi::create() fail behahvior

Fixes: QTBUG-126263
Pick-to: 6.8 6.7
Change-Id: Ic01843a5937c1430d24989c2de24023d4c4655ca
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Andreas Eliasson 2024-06-17 13:28:55 +02:00
parent c26bf30296
commit 1d3ca12338

View File

@ -8469,7 +8469,8 @@ void QRhiImplementation::prepareForCreate(QRhi *rhi, QRhi::Implementation impl,
/*!
\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
subclasses of QRhiInitParams, such as, QRhiVulkanInitParams,