Make sure there's a log line at minimum whenever an API is initialised

This commit is contained in:
baldurk committed 2016-05-03 22:52:15 +02:00
1 parent 4f61d27821
commit 75b2f9e8a0
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -250,7 +250,7 @@ private:
}
else if(SUCCEEDED(ret))
{
RDCDEBUG("succeeded.");
RDCLOG("Created wrapped D3D11 device.");
}
else
{
@@ -235,6 +235,11 @@ VkResult WrappedVulkan::vkCreateInstance(
ObjDisp(m_Instance)->CreateDebugReportCallbackEXT(Unwrap(m_Instance), &debugInfo, NULL, &m_DbgMsgCallback);
}
if(ret == VK_SUCCESS)
{
RDCLOG("Initialised capture layer in Vulkan instance.");
}
return ret;
}