Archived
1
Fork 0

Fix weird GCC log bug in vulkan backend

This commit is contained in:
redstrate 2021-05-09 20:32:04 -04:00
parent 4a96a02da9
commit 39838aec0f

View file

@ -172,7 +172,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL DebugCallback(
VkResult name_object(VkDevice device, VkObjectType type, uint64_t object, std::string_view name) { VkResult name_object(VkDevice device, VkObjectType type, uint64_t object, std::string_view name) {
if(object == 0x0) { 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; return VK_ERROR_DEVICE_LOST;
} }