diff options
| author | Chris Forbes <chrisforbes@google.com> | 2017-06-01 11:07:36 -0700 |
|---|---|---|
| committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-06-05 11:56:37 -0700 |
| commit | df303c318ddfc6154deb26cbc388a32f94980ce8 (patch) | |
| tree | 7fd4bcfa7f9f856c3ed2754dd062e5530b9020ee | |
| parent | 9eae491a07fd56c752a177d4729a33aa3aacd4dd (diff) | |
| download | usermoji-df303c318ddfc6154deb26cbc388a32f94980ce8.tar.xz | |
layers: Remove check from swapchain already done by OT
| -rw-r--r-- | layers/swapchain.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index 4f4ff6b3..4bff5948 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -726,10 +726,6 @@ VKAPI_ATTR void VKAPI_CALL DestroyDevice(VkDevice device, const VkAllocationCall pDevice->pPhysicalDevice->pDevice = NULL; } if (!pDevice->swapchains.empty()) { - log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, - HandleToUint64(device), __LINE__, VALIDATION_ERROR_24a002f4, swapchain_layer_name, - "vkDestroyDevice() called before all of its associated VkSwapchainKHRs were destroyed. %s", - validation_error_map[VALIDATION_ERROR_24a002f4]); // Empty and then delete all SwpSwapchain's for (auto it = pDevice->swapchains.begin(); it != pDevice->swapchains.end(); it++) { |
