summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/game.c5
1 files changed, 2 insertions, 3 deletions
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 <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);
}