projects
/
platform
/
upstream
/
Vulkan-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d94e9
)
fix: format code
author
Danny Zhu
<danny@netflt.com>
Tue, 25 Oct 2022 14:37:56 +0000
(22:37 +0800)
committer
Charles Giessen
<46324611+charles-lunarg@users.noreply.github.com>
Tue, 25 Oct 2022 15:08:22 +0000
(09:08 -0600)
loader/loader.c
patch
|
blob
|
history
diff --git
a/loader/loader.c
b/loader/loader.c
index 00a0273da7c8183a5901d2621fd00984aafaae67..ed4424f239ee94b96a9da08c3ed8cb2268d5157e 100644
(file)
--- 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);