Fix double-unwrap when fetching counters in vulkan. Closes #806

This commit is contained in:
baldurk committed 2017-11-20 20:01:01 +00:00
1 parent 58b628ee8b
commit 0a20a544c7
1 file changed
+1 -1
@@ -600,7 +600,7 @@ bool WrappedVulkan::Serialise_vkBeginCommandBuffer(SerialiserType &ser, VkComman
if(!partial)
{
device = GetDev();
AllocateInfo.commandPool = Unwrap(m_InternalCmds.cmdpool);
AllocateInfo.commandPool = m_InternalCmds.cmdpool;
}
VkCommandBuffer cmd = VK_NULL_HANDLE;