nulldrv: Claim to support any WSI surface.
authorChris Forbes <chrisforbes@google.com>
Tue, 29 Dec 2015 21:44:58 +0000 (10:44 +1300)
committerJon Ashburn <jon@lunarg.com>
Thu, 14 Jan 2016 22:25:51 +0000 (15:25 -0700)
Previously this just left whatever junk the caller had, with unpredictable results.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
icd/nulldrv/nulldrv.c

index 903738e35ae2f35ed9d8efd2f11e240f25b49dfc..56edb488f702b44b4ed663b92a40d77a1dae4662 100644 (file)
@@ -716,6 +716,8 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetPhysicalDeviceSurfaceSupportKHR(
 {
     NULLDRV_LOG_FUNC;
 
+    *pSupported = VK_TRUE;
+
     return VK_SUCCESS;
 }