diff options
| author | 2019-08-21 13:09:34 -0700 | |
|---|---|---|
| committer | 2019-08-21 13:09:34 -0700 | |
| commit | c81b532412c6a036e7ba397827ae9b1fcd7c6ef1 (patch) | |
| tree | 863ef28b0e20bfd3490be12873c644e67ddbc892 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 8475fc34a2144b947db4f1a1170a01809e83479d (diff) | |
libvulkan: add a nullptr check for ANativeWindow*
When VK_GOOGLE_display_timing extension is in use, if the swapchain is
not in active status, during vkDestroySwapchainKHR, a nullptr checker
for the ANativeWindow* is missing and that will cause a crashing when
calling window api with window being nullptr. This change just adds a
nullptr check for that ANativeWindow*.
Bug: 134185757
Test: manual
Change-Id: Ica4543666c4aadc0a4d9a6caddaefd4ab08f8627
Merged-In: Ic8a4baf7e219cc8e1fb3838d4e4b710b242efa9c
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions