From ceabdb1facf36ce75399695daad5ac9e906232bd Mon Sep 17 00:00:00 2001 From: Danny Zhu Date: Tue, 25 Oct 2022 22:37:56 +0800 Subject: fix: format code --- loader/loader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/loader/loader.c b/loader/loader.c index 00a0273da..ed4424f23 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -4307,8 +4307,7 @@ VKAPI_ATTR void VKAPI_CALL loader_layer_destroy_device(VkDevice device, const Vk const struct loader_instance *inst = icd_term->this_instance; destroyFunction(device, pAllocator); - if (NULL != dev) - { + if (NULL != dev) { dev->chain_device = NULL; dev->icd_device = NULL; loader_remove_logical_device(inst, icd_term, dev, pAllocator); -- cgit v1.2.3