diff options
| author | 2016-12-13 18:45:13 -0500 | |
|---|---|---|
| committer | 2016-12-15 10:57:54 -0500 | |
| commit | d78c2e8a0807ff45db4cb643cc2ef38eafd22551 (patch) | |
| tree | 0afec51317e37b6b28432aa203cc13abd0872168 /cmds/dumpstate/utils.cpp | |
| 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
Diffstat (limited to 'cmds/dumpstate/utils.cpp')
0 files changed, 0 insertions, 0 deletions