mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-17 23:40:59 +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:
@@ -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