From df303c318ddfc6154deb26cbc388a32f94980ce8 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 1 Jun 2017 11:07:36 -0700 Subject: layers: Remove check from swapchain already done by OT --- layers/swapchain.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'layers/swapchain.cpp') 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++) { -- cgit v1.2.3