aboutsummaryrefslogtreecommitdiff
path: root/include/render/vulkan.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-09-07 14:38:41 +0200
committerSimon Ser <contact@emersion.fr>2022-09-07 14:39:58 +0200
commite19007dede4b030b7fd60802d0cb88685a6e200c (patch)
tree3a2b2bb9916f6d569d3cd9f7cc028f50010d8ebc /include/render/vulkan.h
parent30fafe4f4a3c7b19e3460e12551210a3d3362371 (diff)
render/vulkan: drop ext params from vulkan_device_create()
These are unused.
Diffstat (limited to 'include/render/vulkan.h')
-rw-r--r--include/render/vulkan.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/render/vulkan.h b/include/render/vulkan.h
index 1cba5a19..8e9b6460 100644
--- a/include/render/vulkan.h
+++ b/include/render/vulkan.h
@@ -76,10 +76,8 @@ struct wlr_vk_device {
VkPhysicalDevice vulkan_find_drm_phdev(struct wlr_vk_instance *ini, int drm_fd);
// Creates a device for the given instance and physical device.
-// Will try to enable the given extensions but not fail if they are not
-// available which can later be checked by the caller.
struct wlr_vk_device *vulkan_device_create(struct wlr_vk_instance *ini,
- VkPhysicalDevice phdev, size_t ext_count, const char **exts);
+ VkPhysicalDevice phdev);
void vulkan_device_destroy(struct wlr_vk_device *dev);
// Tries to find any memory bit for the given vulkan device that