From 39838aec0f20bff607376c37c484bacc80be1d1e Mon Sep 17 00:00:00 2001 From: redstrate <54911369+redstrate@users.noreply.github.com> Date: Sun, 9 May 2021 20:32:04 -0400 Subject: [PATCH] Fix weird GCC log bug in vulkan backend --- engine/gfx/vulkan/src/gfx_vulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gfx/vulkan/src/gfx_vulkan.cpp b/engine/gfx/vulkan/src/gfx_vulkan.cpp index 0274ced..5e11b8e 100755 --- a/engine/gfx/vulkan/src/gfx_vulkan.cpp +++ b/engine/gfx/vulkan/src/gfx_vulkan.cpp @@ -172,7 +172,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL DebugCallback( VkResult name_object(VkDevice device, VkObjectType type, uint64_t object, std::string_view name) { if(object == 0x0) { - prism::log::error(System::GFX, "Failed to name object {}", name); + prism::log::error(System::GFX, "Failed to name object {}", name.data()); return VK_ERROR_DEVICE_LOST; }