summaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/wsi_common_display.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-06-16 10:27:40 -0700
committerJason Ekstrand <[email protected]>2018-06-20 08:16:03 -0700
commit8f3b58ebee413fc704fb2fa0fab06dbfe146b08a (patch)
tree33c9dcf3a7e135b42235b1c360317aafa60846af /src/vulkan/wsi/wsi_common_display.c
parent7f3cb7db08e4c172072a29b69cb33be4d9b8f562 (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_display.c')
-rw-r--r--src/vulkan/wsi/wsi_common_display.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vulkan/wsi/wsi_common_display.c b/src/vulkan/wsi/wsi_common_display.c
index 4f52e8087a6..01150ffbb1b 100644
--- a/src/vulkan/wsi/wsi_common_display.c
+++ b/src/vulkan/wsi/wsi_common_display.c
@@ -1436,7 +1436,6 @@ wsi_display_init_wsi(struct wsi_device *wsi_device,
}
wsi->base.get_support = wsi_display_surface_get_support;
- wsi->base.get_capabilities = wsi_display_surface_get_capabilities;
wsi->base.get_capabilities2 = wsi_display_surface_get_capabilities2;
wsi->base.get_formats = wsi_display_surface_get_formats;
wsi->base.get_formats2 = wsi_display_surface_get_formats2;