Rework buffers synchronization

This commit is contained in:
Lynix
2020-03-13 18:44:49 +01:00
parent 63547fcd4e
commit b774a879b6
19 changed files with 223 additions and 68 deletions

View File

@@ -7,7 +7,7 @@
namespace Nz
{
String TranslateVulkanError(VkResult code)
std::string TranslateVulkanError(VkResult code)
{
// From https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkResult
switch (code)
@@ -97,7 +97,7 @@ namespace Nz
break;
}
return "Unknown Vulkan error (0x" + String::Number(code, 16) + ')';
return "Unknown Vulkan error (0x" + String::Number(code, 16).ToStdString() + ')';
}
}