summaryrefslogtreecommitdiff
path: root/src/renderer/backends/vulkan_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/backends/vulkan_helpers.h')
-rw-r--r--src/renderer/backends/vulkan_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/backends/vulkan_helpers.h b/src/renderer/backends/vulkan_helpers.h
index aa43c62..db9b5a4 100644
--- a/src/renderer/backends/vulkan_helpers.h
+++ b/src/renderer/backends/vulkan_helpers.h
@@ -24,7 +24,7 @@ static void plat_get_required_extension_names(cstr_darray* extensions) {
do { \
VkResult res = vulkan_expr; \
if (res != VK_SUCCESS) { \
- ERROR_EXIT("Vulkan error: %u", res); \
+ ERROR_EXIT("Vulkan error: %u (%s:%d)", res, __FILE__, __LINE__); \
} \
} while (0)