summaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/wsi_common_x11.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-10-25 11:15:38 +0100
committerEric Engestrom <[email protected]>2018-10-26 18:33:11 +0100
commit738f0f789bfcd6703327492dbc4297ca076e7862 (patch)
treeeec6bd08086b0fae0abbacfa79a25a4af88cdd3c /src/vulkan/wsi/wsi_common_x11.c
parentf4126cfaabc2deba9ddbbccc21eac7f43b760bef (diff)
vulkan: drop always-true param
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common_x11.c')
-rw-r--r--src/vulkan/wsi/wsi_common_x11.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c
index 6eb72827eda..c740726fe54 100644
--- a/src/vulkan/wsi/wsi_common_x11.c
+++ b/src/vulkan/wsi/wsi_common_x11.c
@@ -375,7 +375,6 @@ visual_has_alpha(xcb_visualtype_t *visual, unsigned depth)
VkBool32 wsi_get_physical_device_xcb_presentation_support(
struct wsi_device *wsi_device,
uint32_t queueFamilyIndex,
- bool can_handle_different_gpu,
xcb_connection_t* connection,
xcb_visualid_t visual_id)
{
@@ -388,10 +387,6 @@ VkBool32 wsi_get_physical_device_xcb_presentation_support(
if (!wsi_x11_check_for_dri3(wsi_conn))
return false;
- if (!can_handle_different_gpu)
- if (!wsi_x11_check_dri3_compatible(wsi_device, connection))
- return false;
-
unsigned visual_depth;
if (!connection_get_visualtype(connection, visual_id, &visual_depth))
return false;