commit | d78c2e8a0807ff45db4cb643cc2ef38eafd22551 | [log] [tgz] |
---|---|---|
author | Daniel Koch <dkoch@nvidia.com> | Tue Dec 13 18:45:13 2016 -0500 |
committer | Daniel Koch <dkoch@nvidia.com> | Thu Dec 15 10:57:54 2016 -0500 |
tree | 0afec51317e37b6b28432aa203cc13abd0872168 | |
parent | a2a7195e232e90a99b88263f2be5b791b03f1c7f [diff] |
libvulkan: add NULL check to DestroySwapchainKHR vkDestroySwapchainKHR is required to silently ignore NULL handles that are provided to it to destroy. This adds an early return if swapchain_handle is NULL. Test: dEQP-VK.wsi.android.swapchain.destroy.null_handle (VK 1.0.2 CTS) Change-Id: Ic230f114a680210cb0e0de931b17e4d70fb27f44