Commit 580408d2 authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

Allow null in resourceUpdate()

It is not symmetric with beginPass() and endPass() otherwise (as those do
allow null).
parent 3c7ad5c6
......@@ -3742,6 +3742,7 @@ void QRhiResourceUpdateBatchPrivate::merge(QRhiResourceUpdateBatchPrivate *other
void QRhiCommandBuffer::resourceUpdate(QRhiResourceUpdateBatch *resourceUpdates)
if (resourceUpdates)
m_rhi->resourceUpdate(this, resourceUpdates);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment