aboutsummaryrefslogtreecommitdiff
path: root/loader/loader.h
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2015-11-19 15:43:26 -0700
committerJon Ashburn <jon@lunarg.com>2015-11-20 10:00:59 -0700
commitfc466cbc7f992935a3ec7c7d63c0b359c48b9183 (patch)
tree3cb922d53716eb3dec1f0a06cdc2dbcfddcc66ef /loader/loader.h
parent05b4ed0d447b78d6638015577818518d1d9681c4 (diff)
downloadusermoji-fc466cbc7f992935a3ec7c7d63c0b359c48b9183.tar.xz
loader: Don't use ICD's VkDevice after it has been destroyed
LX # 201 Conflicts: loader/trampoline.c
Diffstat (limited to 'loader/loader.h')
-rw-r--r--loader/loader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader/loader.h b/loader/loader.h
index d184e165..390d0cc4 100644
--- a/loader/loader.h
+++ b/loader/loader.h
@@ -424,7 +424,8 @@ struct loader_instance *loader_get_instance(
const VkInstance instance);
void loader_remove_logical_device(
const struct loader_instance *inst,
- VkDevice device);
+ struct loader_icd *icd,
+ struct loader_device *found_dev);
VkResult loader_enable_instance_layers(
struct loader_instance *inst,
const VkInstanceCreateInfo *pCreateInfo,