loader: Prevent crash from VK_KHR_display
authorLenny Komow <lenny@lunarg.com>
Tue, 27 Apr 2021 21:25:09 +0000 (15:25 -0600)
committerLenny Komow <lenny@lunarg.com>
Tue, 27 Apr 2021 22:57:13 +0000 (16:57 -0600)
commitbb8231f05fee7c4d597fc202149fe9bdfd3176c3
tree9dba42154f2736a8202fc0dd6837b4facecfa2de
parentd0f1abe22e7a6233c02437993fa1d185021bd171
loader: Prevent crash from VK_KHR_display

Previously, we assumed that the extension VK_KHR_display would be
available on all systems. This appears to no longer be the case. If we
get two ICDs, one which supports the extension and one which does not,
we used to get a crash if trying to call any function from the
extension on the physical device which did not support it. This solves
that crash
loader/wsi.c