diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-30 11:32:46 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-07-31 14:15:23 -0600 |
| commit | a59efa7391bf9bf631ac875348ba7873723ea469 (patch) | |
| tree | 103803def38899d30b8793a44f0fca89680822bc /loader/debug_report.c | |
| parent | fa0036742bf066ab5d2c645806e487a1260d392c (diff) | |
| download | usermoji-a59efa7391bf9bf631ac875348ba7873723ea469.tar.xz | |
xchange-93: Use VK_ prefix on DEBUG_REPORT_..._NAME
Use the Vulkan namespace (VK_ prefix) on DEBUG_REPORT_EXTENSION_NAME
This resolves LunarXchange bug #93.
https://vulkan.lunarg.com/app/issues/55b76ae37ef24d0001000070
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 5ef5c491..4ee3a3c5 100644 --- a/loader/debug_report.c +++ b/loader/debug_report.c @@ -43,7 +43,7 @@ typedef void (VKAPI *PFN_stringCallback)(char *message); static const struct loader_extension_property debug_report_extension_info = { .info = { - .extName = DEBUG_REPORT_EXTENSION_NAME, + .extName = VK_DEBUG_REPORT_EXTENSION_NAME, .specVersion = VK_DEBUG_REPORT_EXTENSION_VERSION, }, .origin = VK_EXTENSION_ORIGIN_LOADER, @@ -62,7 +62,7 @@ void debug_report_create_instance( ptr_instance->debug_report_enabled = false; for (uint32_t i = 0; i < pCreateInfo->extensionCount; i++) { - if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], DEBUG_REPORT_EXTENSION_NAME) == 0) { + if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_DEBUG_REPORT_EXTENSION_NAME) == 0) { ptr_instance->debug_report_enabled = true; return; } |
