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_wayland.c | |
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_wayland.c')
-rw-r--r-- | src/vulkan/wsi/wsi_common_wayland.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vulkan/wsi/wsi_common_wayland.c b/src/vulkan/wsi/wsi_common_wayland.c index ec38a4e578f..4a6a4a29b93 100644 --- a/src/vulkan/wsi/wsi_common_wayland.c +++ b/src/vulkan/wsi/wsi_common_wayland.c @@ -1010,7 +1010,6 @@ wsi_wl_init_wsi(struct wsi_device *wsi_device, wsi->wsi = wsi_device; wsi->base.get_support = wsi_wl_surface_get_support; - wsi->base.get_capabilities = wsi_wl_surface_get_capabilities; wsi->base.get_capabilities2 = wsi_wl_surface_get_capabilities2; wsi->base.get_formats = wsi_wl_surface_get_formats; wsi->base.get_formats2 = wsi_wl_surface_get_formats2; |