mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 05:05:44 +00:00
Ensure annotations aren't deleted early on device lost
* Similar to the structured file, the ownership of these must pass to the dummy driver to be kept alive until it's deleted.
This commit is contained in:
@@ -93,7 +93,7 @@ public:
|
||||
}
|
||||
IReplayDriver *MakeDummyDriver()
|
||||
{
|
||||
IReplayDriver *ret = new DummyDriver(this, {}, m_File);
|
||||
IReplayDriver *ret = new DummyDriver(this, {}, m_File, {});
|
||||
// lose our structured file reference
|
||||
m_File = NULL;
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user