From 477455bcaa2f038452b35ec7727b6f24c4ec774f Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 21 May 2024 12:13:27 +0300 Subject: redundant string_vkResults --- src/game.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 32fe268..c3c617a 100644 --- a/src/game.c +++ b/src/game.c @@ -10,7 +10,6 @@ #include #include -#include // for string_VkResult #define VMA_STATIC_VULKAN_FUNCTIONS 0 #define VMA_DYNAMIC_VULKAN_FUNCTIONS 1 @@ -174,7 +173,7 @@ vulkan_setup_debug_messenger() VkResult result = s.pfnCreateDebugUtilsMessengerEXT(s.vk_instance, &createInfo, NULL, &s.vk_debug_messenger); if (result != VK_SUCCESS) { - vk_log(VK_WARN, "failed to set up debug messenger! %s\n", string_VkResult(result)); + vk_log(VK_WARN, "failed to set up debug messenger!\n"); } else { vk_log(VK_INFO, "Debug messanger created!\n"); } @@ -200,7 +199,7 @@ vulkan_create_instance() VK_API_VERSION_MINOR(instanceVersion), VK_API_VERSION_PATCH(instanceVersion)); } else { - vk_log(VK_ERROR, "Failed to retrieve vulkan version, is vulkan supported in this system? %s\n", string_VkResult(result)); + vk_log(VK_ERROR, "Failed to retrieve vulkan version, is vulkan supported in this system?\n"); exit(1); } -- cgit v1.2.3