From fc466cbc7f992935a3ec7c7d63c0b359c48b9183 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Thu, 19 Nov 2015 15:43:26 -0700 Subject: loader: Don't use ICD's VkDevice after it has been destroyed LX # 201 Conflicts: loader/trampoline.c --- loader/loader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'loader/loader.h') 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, -- cgit v1.2.3