diff options
author | Jason Ekstrand <[email protected]> | 2018-06-16 10:27:40 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-20 08:16:03 -0700 |
commit | 8f3b58ebee413fc704fb2fa0fab06dbfe146b08a (patch) | |
tree | 33c9dcf3a7e135b42235b1c360317aafa60846af /src/vulkan/wsi/wsi_common_private.h | |
parent | 7f3cb7db08e4c172072a29b69cb33be4d9b8f562 (diff) |
vulkan/wsi: Get rid of the get_capabilities hook
Instead, we can just use get_capabilities2. This way back-ends only
have to implement one hook.
Reviewed-by: Keith Packard <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common_private.h')
-rw-r--r-- | src/vulkan/wsi/wsi_common_private.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vulkan/wsi/wsi_common_private.h b/src/vulkan/wsi/wsi_common_private.h index 3d502b9fc9d..9f2aacd6560 100644 --- a/src/vulkan/wsi/wsi_common_private.h +++ b/src/vulkan/wsi/wsi_common_private.h @@ -104,8 +104,6 @@ struct wsi_interface { uint32_t queueFamilyIndex, int local_fd, VkBool32* pSupported); - VkResult (*get_capabilities)(VkIcdSurfaceBase *surface, - VkSurfaceCapabilitiesKHR* pSurfaceCapabilities); VkResult (*get_capabilities2)(VkIcdSurfaceBase *surface, const void *info_next, VkSurfaceCapabilities2KHR* pSurfaceCapabilities); |