RHI: use the flags we've just calculated
Caught by clang 13 detecting we set a variable but never used it. Change-Id: I8c6a0ff3ec184205a544fffd16af3d52b6f172a2 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
056e807bb1
commit
9153458731
@ -1689,7 +1689,7 @@ void QRhiVulkan::ensureCommandPoolForNewFrame()
|
||||
flags |= VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT;
|
||||
|
||||
// put all command buffers allocated from this slot's pool to initial state
|
||||
df->vkResetCommandPool(dev, cmdPool[currentFrameSlot], 0);
|
||||
df->vkResetCommandPool(dev, cmdPool[currentFrameSlot], flags);
|
||||
}
|
||||
|
||||
QRhi::FrameOpResult QRhiVulkan::beginFrame(QRhiSwapChain *swapChain, QRhi::BeginFrameFlags)
|
||||
|
Loading…
Reference in New Issue
Block a user