Fix error message duplicated in vulkan object create macro

This commit is contained in:
baldurk
2018-02-22 12:22:59 +00:00
parent a9a1b77c3c
commit 9b98567d65
+1 -2
View File
@@ -387,8 +387,7 @@ static void create(WrappedVulkan *driver, const char *objName, const int line, V
// utility macro that lets us check for VkResult failures inside the utility helpers while
// preserving context from outside
#define CREATE_OBJECT(obj, ...) \
create(driver, "Failed to create vulkan object " #obj, __LINE__, &obj, __VA_ARGS__)
#define CREATE_OBJECT(obj, ...) create(driver, #obj, __LINE__, &obj, __VA_ARGS__)
VulkanDebugManager::VulkanDebugManager(WrappedVulkan *driver)
{