mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Unwrap instance/device before calling down the G*PA chain.
This commit is contained in:
@@ -111,6 +111,8 @@ void InitInstanceExtensionTables(VkInstance instance)
|
||||
|
||||
InstanceDeviceInfo *info = GetRecord(instance)->instDevInfo;
|
||||
|
||||
instance = Unwrap(instance);
|
||||
|
||||
#undef HookInitExtension
|
||||
#define HookInitExtension(ext, func) \
|
||||
if(info->ext) \
|
||||
@@ -144,6 +146,8 @@ void InitDeviceExtensionTables(VkDevice device)
|
||||
|
||||
InstanceDeviceInfo *info = GetRecord(device)->instDevInfo;
|
||||
|
||||
device = Unwrap(device);
|
||||
|
||||
#undef HookInitExtension
|
||||
#define HookInitExtension(ext, func) \
|
||||
if(info->ext) \
|
||||
|
||||
Reference in New Issue
Block a user