vulkan/wsi/display: check if wsi_swapchain_init() succeeded
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 13 Sep 2018 19:36:15 +0000 (20:36 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Mon, 24 Sep 2018 16:37:43 +0000 (17:37 +0100)
commitbde3102c0dc3e33d2605d013205e381ff6d93ace
treedf5baa7a9b2a1dd88868de8ce915205d8ca41b1d
parent3e7b5e5db2f332e258d01c855137476e8fd4a44f
vulkan/wsi/display: check if wsi_swapchain_init() succeeded

Fixes: da997ebec929421939553 "vulkan: Add KHR_display extension using DRM [v10]"
Cc: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/vulkan/wsi/wsi_common_display.c