vulkan/overlay: fix crash on destroying NULL swapchain
authorPavel Asyutchenko <sventeam@yandex.ru>
Tue, 23 Jun 2020 20:10:38 +0000 (23:10 +0300)
committerMarge Bot <eric+marge@anholt.net>
Thu, 25 Jun 2020 10:31:50 +0000 (10:31 +0000)
commitec7b55f4cc5dd3dc61eb6b9e51f46c58a2a896d3
tree7bdb0b20d0cb8b02afacd1272016d0acaebd7a41
parent8c962f5f61f11c0ed38f277fcd828ddd967f98ae
vulkan/overlay: fix crash on destroying NULL swapchain

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5616>
src/vulkan/overlay-layer/overlay.cpp