Fix copy-paste error replaying CmdDrawIndexedIndirect as CmdDrawIndrect

This commit is contained in:
baldurk
2017-04-03 19:23:35 +01:00
parent f33f975970
commit 4064ef1b0e
@@ -550,7 +550,7 @@ bool WrappedVulkan::Serialise_vkCmdDrawIndexedIndirect(Serialiser *localSerialis
commandBuffer = GetResourceManager()->GetLiveHandle<VkCommandBuffer>(cmdid);
buffer = GetResourceManager()->GetLiveHandle<VkBuffer>(bufid);
ObjDisp(commandBuffer)->CmdDrawIndirect(Unwrap(commandBuffer), Unwrap(buffer), offs, cnt, strd);
ObjDisp(commandBuffer)->CmdDrawIndexedIndirect(Unwrap(commandBuffer), Unwrap(buffer), offs, cnt, strd);
}
else if(m_State == EXECUTING && cnt <= 1)
{