diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2024-05-21 12:13:27 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2024-05-21 12:13:59 +0300 |
commit | 477455bcaa2f038452b35ec7727b6f24c4ec774f (patch) | |
tree | ac7ea56e9fca1652033946593018541badb3f8f3 | |
parent | b04db611ed0eb7ec9e1b7d988f3031fe63a1de52 (diff) | |
download | cgame-477455bcaa2f038452b35ec7727b6f24c4ec774f.tar.gz cgame-477455bcaa2f038452b35ec7727b6f24c4ec774f.tar.bz2 cgame-477455bcaa2f038452b35ec7727b6f24c4ec774f.zip |
redundant string_vkResults
-rw-r--r-- | src/game.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -10,7 +10,6 @@ #include <SDL2/SDL_vulkan.h> #include <vulkan/vulkan.h> -#include <vulkan/vk_enum_string_helper.h> // 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); } |