summaryrefslogtreecommitdiff
path: root/opengl/libagl/egl.cpp
diff options
context:
space:
mode:
author Daniel Koch <dkoch@nvidia.com> 2016-12-13 18:45:13 -0500
committer Jesse Hall <jessehall@google.com> 2016-12-15 14:39:50 -0800
commitc556562471e8ed27360adae57e17fc4bfa2cfa6c (patch)
treea35f260a0ed81123807bb55202461e4a53f54cfc /opengl/libagl/egl.cpp
parenta9cc65f753b15339e70a2376c6878604e2b16377 (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)
Diffstat (limited to 'opengl/libagl/egl.cpp')
0 files changed, 0 insertions, 0 deletions