loader: Fix crash in VK_KHR_surface
authorLenny Komow <lenny@lunarg.com>
Wed, 11 Oct 2017 21:39:38 +0000 (15:39 -0600)
committerMike Schuchardt <mikes@lunarg.com>
Fri, 9 Mar 2018 20:54:31 +0000 (13:54 -0700)
commit53fdfb2aef1d0f93fcd7c5d449b713c112503170
tree24e4189397bbc799bf8ed3606a04f450eae7063b
parent91f1ab0bd1e329f6a648cfbe5a270b648f59a579
loader: Fix crash in VK_KHR_surface

The VkSurfaceKHR object in vkGetDeviceGroupSurfacePresentModesKHR was
not getting properly unwrapped. As a result, an invalid surface handle
was being passed to the drivers (usually resulting in a crash).
loader/wsi.c
loader/wsi.h