Commit 05d2576b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winevulkan: Use vk_unix_call in loader.c.

parent 9a98276f
......@@ -242,7 +242,7 @@ VkResult WINAPI vkCreateInstance(const VkInstanceCreateInfo *create_info,
params.pCreateInfo = create_info;
params.pAllocator = allocator;
params.pInstance = instance;
return unix_funcs->p_vk_call(unix_vkCreateInstance, &params);
return vk_unix_call(unix_vkCreateInstance, &params);
}
VkResult WINAPI vkEnumerateInstanceExtensionProperties(const char *layer_name,
......@@ -267,7 +267,7 @@ VkResult WINAPI vkEnumerateInstanceExtensionProperties(const char *layer_name,
params.pLayerName = layer_name;
params.pPropertyCount = count;
params.pProperties = properties;
return unix_funcs->p_vk_call(unix_vkEnumerateInstanceExtensionProperties, &params);
return vk_unix_call(unix_vkEnumerateInstanceExtensionProperties, &params);
}
VkResult WINAPI vkEnumerateInstanceVersion(uint32_t *version)
......@@ -283,7 +283,7 @@ VkResult WINAPI vkEnumerateInstanceVersion(uint32_t *version)
}
params.pApiVersion = version;
return unix_funcs->p_vk_call(unix_vkEnumerateInstanceVersion, &params);
return vk_unix_call(unix_vkEnumerateInstanceVersion, &params);
}
static HANDLE get_display_device_init_mutex(void)
......
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