diff options
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/loader.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/loader/loader.c b/loader/loader.c index 96b01202..56b64968 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -2675,19 +2675,10 @@ void VKAPI loader_DestroyInstance( prev = next; next = next->next; } - /* TODOVV: Move this test to validation layer */ -// if (next == NULL) { -// // This must be an invalid instance handle or empty list -// return VK_ERROR_INVALID_HANDLE; -// } while (icds) { if (icds->instance) { icds->DestroyInstance(icds->instance); - /* TODOVV: Move this test to validation layer */ - //if (res != VK_SUCCESS) - // loader_log(VK_DBG_REPORT_WARN_BIT, 0, - // "ICD ignored: failed to DestroyInstance on device"); } next_icd = icds->next; icds->instance = VK_NULL_HANDLE; |
