diff options
author | Tianhao Ni <tianhao.ni@samsung.com> | 2022-03-07 09:30:17 +0800 |
---|---|---|
committer | Xuelian Bai <xuelian.bai@samsung.com> | 2024-01-16 16:22:49 +0800 |
commit | dffef492af880c0acf576c6d9edcdd5569739d76 (patch) | |
tree | 766578862d7bed5385e0995cb5298098f5bb0ec3 | |
parent | 2e164516dedeea7fc4d53829f3562b7f9c95e4b7 (diff) | |
download | vulkan-wsi-layer-dffef492af880c0acf576c6d9edcdd5569739d76.tar.gz vulkan-wsi-layer-dffef492af880c0acf576c6d9edcdd5569739d76.tar.bz2 vulkan-wsi-layer-dffef492af880c0acf576c6d9edcdd5569739d76.zip |
Fix coredump issue:
- m_present_region should be init with nullptr
Change-Id: Ie4d871a746087a718cf337ac564ff876f63e899e
Signed-off-by: Tianhao Ni <tianhao.ni@samsung.com>
-rw-r--r-- | wsi/swapchain_base.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wsi/swapchain_base.cpp b/wsi/swapchain_base.cpp index a710c99..1b99e9f 100644 --- a/wsi/swapchain_base.cpp +++ b/wsi/swapchain_base.cpp @@ -186,6 +186,7 @@ swapchain_base::swapchain_base(layer::device_private_data &dev_data, const VkAll , m_image_acquire_lock() , m_error_state(VK_NOT_READY) , m_started_presenting(false) + , m_present_region(nullptr) { } |