mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-10 06:11:36 +00:00
DbgCreateMsgCallback doesn't need wrapping
* When validation layers & RenderDoc play nicely together, then we can just create our own callback for serialising any debug messages.
This commit is contained in:
1 parent
6efabefb43
commit
b80ea399a3
1 file changed
+1
-1
@@ -767,7 +767,7 @@ VkResult WrappedVulkan::vkDbgCreateMsgCallback(
|
||||
void* pUserData,
|
||||
VkDbgMsgCallback* pMsgCallback)
|
||||
{
|
||||
// VKTODOLOW intercept this and point to our own callback
|
||||
// don't need to wrap this, as we will create our own independent callback
|
||||
return ObjDisp(instance)->DbgCreateMsgCallback(Unwrap(instance), msgFlags, pfnMsgCallback, pUserData, pMsgCallback);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user