From a38cdfcca1b01db046f85dd33fbc947725dc3cc2 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Tue, 30 Jun 2015 16:44:28 -0600 Subject: loader: Remove uneeded ICD and layers scanned boolean Artifact of when layers and ICDs weren't scanned initially. --- loader/debug_report.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'loader/debug_report.c') diff --git a/loader/debug_report.c b/loader/debug_report.c index adebe44c..498faf8a 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -138,8 +138,6 @@ VkResult loader_DbgCreateMsgCallback( if (instance == VK_NULL_HANDLE) return VK_ERROR_INVALID_HANDLE; - assert(loader.icds_scanned); - for (inst = loader.instances; inst; inst = inst->next) { if ((VkInstance) inst == instance) break; @@ -209,8 +207,6 @@ VkResult loader_DbgDestroyMsgCallback( if (instance == VK_NULL_HANDLE) return VK_ERROR_INVALID_HANDLE; - assert(loader.icds_scanned); - for (inst = loader.instances; inst; inst = inst->next) { if ((VkInstance) inst == instance) break; -- cgit v1.2.3