diff --git a/src/gui/rhi/qrhi.cpp b/src/gui/rhi/qrhi.cpp index 329884b58a7..bfcf2d99339 100644 --- a/src/gui/rhi/qrhi.cpp +++ b/src/gui/rhi/qrhi.cpp @@ -9285,7 +9285,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.