Don't delete objects allocated in renderdoc module outside it.

This commit is contained in:
baldurk
2017-04-27 18:18:25 +01:00
parent 5fbf49a304
commit dd2f6eb88a
7 changed files with 25 additions and 7 deletions
+1 -1
View File
@@ -2759,7 +2759,7 @@ void BufferViewer::debugVertex()
if(trace->states.count == 0)
{
delete trace;
r->FreeTrace(trace);
// if we couldn't debug the pixel on this event, open up a pixel history
GUIInvoke::call([this]() {