diff options
| author | Jon Ashburn <jon@lunarg.com> | 2015-11-06 11:02:40 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-11-06 13:06:37 -0700 |
| commit | 08d7150c2f509a793ef1faff112d96cac5bf017a (patch) | |
| tree | 3573a3506f3ec697029b6e1c8e47b517288296eb /loader/debug_report.c | |
| parent | 2ba1a459da681ddfdcc28a8e6f7ca9c162e5cb67 (diff) | |
| download | usermoji-08d7150c2f509a793ef1faff112d96cac5bf017a.tar.xz | |
loader: Convert GetInstanceProcAddr and GetDeviceProcAddr over to new semantics
As per Vulkan bug 13288. Still need to handle device extensions correctly.
Diffstat (limited to 'loader/debug_report.c')
| -rw-r--r-- | loader/debug_report.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/debug_report.c b/loader/debug_report.c index 6ede98c4..08ef8ca8 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -323,9 +323,9 @@ bool debug_report_instance_gpa( const char* name, void **addr) { + // debug_report is currently advertised to be supported by the loader, + // so always return the entry points if name matches and it's enabled *addr = NULL; - if (ptr_instance == VK_NULL_HANDLE) - return false; if (!strcmp("vkDbgCreateMsgCallback", name)) { *addr = ptr_instance->debug_report_enabled ? (void *) debug_report_DbgCreateMsgCallback : NULL; |
