diff options
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_wsi.c | 4 | ||||
-rw-r--r-- | src/intel/vulkan/anv_wsi_x11.c | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c index 5d672c211c4..024bc1c245d 100644 --- a/src/intel/vulkan/anv_wsi.c +++ b/src/intel/vulkan/anv_wsi.c @@ -89,7 +89,6 @@ VkResult anv_GetPhysicalDeviceSurfaceSupportKHR( ANV_FROM_HANDLE(anv_physical_device, device, physicalDevice); return wsi_common_get_surface_support(&device->wsi_device, - device->local_fd, queueFamilyIndex, surface, pSupported); @@ -183,7 +182,7 @@ VkResult anv_CreateSwapchainKHR( else alloc = &device->alloc; - return wsi_common_create_swapchain(wsi_device, _device, device->fd, + return wsi_common_create_swapchain(wsi_device, _device, pCreateInfo, alloc, pSwapchain); } @@ -303,7 +302,6 @@ VkResult anv_GetPhysicalDevicePresentRectanglesKHR( ANV_FROM_HANDLE(anv_physical_device, device, physicalDevice); return wsi_common_get_present_rectangles(&device->wsi_device, - device->local_fd, surface, pRectCount, pRects); } diff --git a/src/intel/vulkan/anv_wsi_x11.c b/src/intel/vulkan/anv_wsi_x11.c index 45c43f6f17f..bfa76e88e79 100644 --- a/src/intel/vulkan/anv_wsi_x11.c +++ b/src/intel/vulkan/anv_wsi_x11.c @@ -41,7 +41,7 @@ VkBool32 anv_GetPhysicalDeviceXcbPresentationSupportKHR( return wsi_get_physical_device_xcb_presentation_support( &device->wsi_device, queueFamilyIndex, - device->local_fd, false, + false, connection, visual_id); } @@ -56,7 +56,7 @@ VkBool32 anv_GetPhysicalDeviceXlibPresentationSupportKHR( return wsi_get_physical_device_xcb_presentation_support( &device->wsi_device, queueFamilyIndex, - device->local_fd, false, + false, XGetXCBConnection(dpy), visualID); } |