Fix weird GCC log bug in vulkan backend
This commit is contained in:
parent
4a96a02da9
commit
39838aec0f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue