diff --git a/.pick_status.json b/.pick_status.json index 3b7bd47c7cc..c0dc22d8084 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -10304,7 +10304,7 @@ "description": "vk/wsi/x11: Remove dead code", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "fb9f697fbb8f836aaf12a269195841e36b93adf2", "notes": null diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index 0f9dad6a0e4..6dd22b5804b 100644 --- a/src/vulkan/wsi/wsi_common_x11.c +++ b/src/vulkan/wsi/wsi_common_x11.c @@ -705,8 +705,6 @@ x11_surface_get_capabilities(VkIcdSurfaceBase *icd_surface, } free(err); free(geom); - if (!geom) - return VK_ERROR_SURFACE_LOST_KHR; if (surface->has_alpha) { caps->supportedCompositeAlpha = VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR |