diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-10-26 10:43:56 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-26 15:12:58 +0000 |
commit | 1c2f608331e3ebdd0670f51acf706cccf0b72294 (patch) | |
tree | 3d1328bae64357a190eb9573ae12ba53e6ab4cfb /render/vulkan | |
parent | d8515b3446dd406e7a995ae2776bc2e4717ca362 (diff) |
render/vulkan: remove unused queue_props in renderer
Diffstat (limited to 'render/vulkan')
-rw-r--r-- | render/vulkan/renderer.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c index 1a46666e..d07c7c41 100644 --- a/render/vulkan/renderer.c +++ b/render/vulkan/renderer.c @@ -2848,12 +2848,6 @@ struct wlr_renderer *wlr_vk_renderer_create_with_drm_fd(int drm_fd) { return NULL; } - uint32_t qfam_count; - vkGetPhysicalDeviceQueueFamilyProperties(phdev, &qfam_count, NULL); - VkQueueFamilyProperties queue_props[qfam_count]; - vkGetPhysicalDeviceQueueFamilyProperties(phdev, &qfam_count, - queue_props); - struct wlr_vk_device *dev = vulkan_device_create(ini, phdev); if (!dev) { wlr_log(WLR_ERROR, "Failed to create vulkan device"); |