mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
vulkan/wsi: drop unused wsi_create_win32_image
fixes: ed391d2a
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15088>
This commit is contained in:
parent
ddf2778269
commit
f1f1b3d7f8
1 changed files with 0 additions and 20 deletions
|
|
@ -373,26 +373,6 @@ wsi_configure_win32_image(const struct wsi_swapchain *chain,
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
static VkResult
|
||||
wsi_create_win32_image(const struct wsi_swapchain *chain,
|
||||
const VkSwapchainCreateInfoKHR *pCreateInfo,
|
||||
struct wsi_image *image)
|
||||
{
|
||||
const struct wsi_device *wsi = chain->wsi;
|
||||
|
||||
struct wsi_image_info info;
|
||||
VkResult result = wsi_configure_win32_image(chain, pCreateInfo, &info);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
|
||||
result = wsi_create_image(chain, &info, image);
|
||||
if (result != VK_SUCCESS) {
|
||||
wsi_destroy_image_info(chain, &info);
|
||||
return result;
|
||||
}
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
static VkResult
|
||||
wsi_win32_image_init(VkDevice device_h,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue