Commit 2eae345d authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winevulkan: Fix host command_buffers allocation size.

parent be41201c
......@@ -1290,7 +1290,7 @@ VkResult WINAPI wine_vkQueueSubmit(VkQueue queue, uint32_t count,
memcpy(&submits_host[i], &submits[i], sizeof(*submits_host));
num_command_buffers = submits[i].commandBufferCount;
command_buffers = heap_calloc(num_command_buffers, sizeof(*submits_host));
command_buffers = heap_calloc(num_command_buffers, sizeof(*command_buffers));
if (!command_buffers)
{
ERR("Unable to allocate memory for command buffers!\n");
......
Markdown is supported
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