mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-16 15:00:47 +00:00
Don't return NULL on error, we must always return a valid trace
This commit is contained in:
@@ -1581,6 +1581,8 @@ ShaderDebugTrace *VulkanReplay::DebugPixel(uint32_t eventId, uint32_t x, uint32_
|
||||
{
|
||||
RDCLOG("Didn't get any valid hit to debug");
|
||||
delete apiWrapper;
|
||||
|
||||
ret = new ShaderDebugTrace;
|
||||
}
|
||||
|
||||
if(descpool != VK_NULL_HANDLE)
|
||||
|
||||
Reference in New Issue
Block a user