wsi/metal: Cleanup unused members in wsi_metal_swapchain
Reviewed-By: Aleksi Sapon <aleksi.sapon@autodesk.com> Reviewed-By: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37493>
This commit is contained in:
@@ -279,11 +279,6 @@ struct wsi_metal_swapchain {
|
||||
VkExtent2D extent;
|
||||
VkFormat vk_format;
|
||||
|
||||
struct u_vector modifiers;
|
||||
|
||||
VkPresentModeKHR present_mode;
|
||||
bool fifo_ready;
|
||||
|
||||
VkIcdSurfaceMetal *surface;
|
||||
|
||||
struct wsi_metal_layer_blit_context *blit_context;
|
||||
@@ -371,8 +366,6 @@ wsi_metal_swapchain_destroy(struct wsi_swapchain *wsi_chain,
|
||||
wsi_destroy_image(&chain->base, &chain->images[i].base);
|
||||
}
|
||||
|
||||
u_vector_finish(&chain->modifiers);
|
||||
|
||||
wsi_destroy_metal_layer_blit_context(chain->blit_context);
|
||||
|
||||
wsi_swapchain_finish(&chain->base);
|
||||
|
||||
Reference in New Issue
Block a user