dzn: Don't crash when EndCommandBuffer() returns an error

Leftover from a debug session.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15698>
This commit is contained in:
Boris Brezillon 2022-03-31 17:36:52 +02:00 committed by Marge Bot
parent c937152756
commit 1692d8f0f6
1 changed files with 0 additions and 1 deletions

View File

@ -641,7 +641,6 @@ dzn_EndCommandBuffer(VkCommandBuffer commandBuffer)
cmdbuf->error = cmdbuf->vk.cmd_queue.error;
}
assert(cmdbuf->error == VK_SUCCESS);
return cmdbuf->error;
}