The Vulkan spec states commandBufferCount must be greater than zero and pCommandBuffers must be a valid pointer.
Signed-off-by: Joshua Ashton joshua@froggi.es --- dlls/winevulkan/vulkan.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dlls/winevulkan/vulkan.c b/dlls/winevulkan/vulkan.c index 1cc1b4f61f..f767b86dc4 100644 --- a/dlls/winevulkan/vulkan.c +++ b/dlls/winevulkan/vulkan.c @@ -517,9 +517,6 @@ void WINAPI wine_vkCmdExecuteCommands(VkCommandBuffer buffer, uint32_t count,
TRACE("%p %u %p\n", buffer, count, buffers);
- if (!buffers || !count) - return; - tmp_buffers = WINEVULKAN_ALLOCA(count * sizeof(*tmp_buffers));
for (i = 0; i < count; i++)