mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Initialise debug manager on frame capture if it's not ready. Refs #880
* If no swapchains have been created the debug manager won't be ready, so we need to ensure it's initialised here so we can use it during initial state preparation.
This commit is contained in:
@@ -2711,6 +2711,8 @@ void WrappedID3D11Device::StartFrameCapture(void *dev, void *wnd)
|
||||
|
||||
SCOPED_LOCK(m_D3DLock);
|
||||
|
||||
LazyInit();
|
||||
|
||||
RenderDoc::Inst().SetCurrentDriver(RDC_D3D11);
|
||||
|
||||
m_State = WRITING_CAPFRAME;
|
||||
|
||||
Reference in New Issue
Block a user