mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 04:11:05 +00:00
Destroy instance through correct dispatch table
This commit is contained in:
@@ -5839,7 +5839,7 @@ bool WrappedVulkan::ReleaseResource(WrappedVkRes *res)
|
||||
{
|
||||
VkInstance instance = disp->real.As<VkInstance>();
|
||||
dispatch_key key = get_dispatch_key(instance);
|
||||
ObjDisp(instance)->DestroyInstance(instance);
|
||||
((WrappedVkInstance::DispatchTableType *)disp->table)->DestroyInstance(instance);
|
||||
destroy_dispatch_table(renderdoc_instance_table_map, key);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user