commit | c556562471e8ed27360adae57e17fc4bfa2cfa6c | [log] [tgz] |
---|---|---|
author | Daniel Koch <dkoch@nvidia.com> | Tue Dec 13 18:45:13 2016 -0500 |
committer | Jesse Hall <jessehall@google.com> | Thu Dec 15 14:39:50 2016 -0800 |
tree | a35f260a0ed81123807bb55202461e4a53f54cfc | |
parent | a9cc65f753b15339e70a2376c6878604e2b16377 [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 (cherry picked from commit d78c2e8a0807ff45db4cb643cc2ef38eafd22551)