projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf3f19
)
nulldrv: Claim to support any WSI surface.
author
Chris Forbes
<chrisforbes@google.com>
Tue, 29 Dec 2015 21:44:58 +0000
(10:44 +1300)
committer
Jon 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
patch
|
blob
|
history
diff --git
a/icd/nulldrv/nulldrv.c
b/icd/nulldrv/nulldrv.c
index 903738e35ae2f35ed9d8efd2f11e240f25b49dfc..56edb488f702b44b4ed663b92a40d77a1dae4662 100644
(file)
--- a/
icd/nulldrv/nulldrv.c
+++ b/
icd/nulldrv/nulldrv.c
@@
-716,6
+716,8
@@
VKAPI_ATTR VkResult VKAPI_CALL vkGetPhysicalDeviceSurfaceSupportKHR(
{
NULLDRV_LOG_FUNC;
+ *pSupported = VK_TRUE;
+
return VK_SUCCESS;
}