Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion loader/wsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@ VKAPI_ATTR VkResult VKAPI_CALL terminator_GetPhysicalDeviceSurfaceSupportKHR(VkP

VkResult res = wsi_unwrap_icd_surface(icd_term, &surface);
if (res != VK_SUCCESS) {
return res;
// set pSupported to false as this driver doesn't support WSI functionality
*pSupported = false;
return VK_SUCCESS;
}

return icd_term->dispatch.GetPhysicalDeviceSurfaceSupportKHR(phys_dev_term->phys_dev, queueFamilyIndex, surface, pSupported);
Expand Down
Loading