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

winemac: Remove unnecessary vkDestroySurfaceKHR NULL checks.

parent e3e62824
......@@ -178,10 +178,6 @@ static VkResult wine_vk_instance_convert_create_info(const VkInstanceCreateInfo
static void wine_vk_surface_destroy(VkInstance instance, struct wine_vk_surface *surface)
{
/* vkDestroySurfaceKHR must handle VK_NULL_HANDLE (0) for surface. */
if (!surface)
return;
pvkDestroySurfaceKHR(instance, surface->host_surface, NULL /* allocator */);
if (surface->view)
......
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