diff options
-rw-r--r-- | vulkan/libvulkan/debug_report.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vulkan/libvulkan/debug_report.cpp b/vulkan/libvulkan/debug_report.cpp index 988655e64f..24784071e7 100644 --- a/vulkan/libvulkan/debug_report.cpp +++ b/vulkan/libvulkan/debug_report.cpp @@ -132,10 +132,11 @@ void DebugReportMessageEXT(VkInstance instance, GetData(instance).driver.DebugReportMessageEXT( instance, flags, object_type, object, location, message_code, layer_prefix, message); + } else { + GetData(instance).debug_report_callbacks.Message( + flags, object_type, object, location, message_code, layer_prefix, + message); } - GetData(instance).debug_report_callbacks.Message(flags, object_type, object, - location, message_code, - layer_prefix, message); } } // namespace driver |