Doc: Fix link in note for QRhi::nextResourceUpdateBatch()

The correct link should be QRhiResourceUpdateBatch::release(), not
QRhiResourceUpdateBatch::destroy().

Fixes: QTBUG-127111
Pick-to: 6.8 6.7
Change-Id: Iec370f5f4b2c9cc74f8ff96b8d5a027be79e8817
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Andreas Eliasson 2024-10-09 12:29:58 +02:00
parent ff5bc9266a
commit 93136f7c55

View File

@ -9547,7 +9547,7 @@ void QRhiResourceUpdateBatch::generateMips(QRhiTexture *tex)
destroyed. Instead, the batch is returned the pool for reuse by passing
it to QRhiCommandBuffer::beginPass(), QRhiCommandBuffer::endPass(), or
QRhiCommandBuffer::resourceUpdate(), or by calling
QRhiResourceUpdateBatch::destroy() on it.
QRhiResourceUpdateBatch::release() on it.
\note Can be called outside beginFrame() - endFrame() as well since a batch
instance just collects data on its own, it does not perform any operations.