mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Set non-replay state to BackgroundCapturing
This commit is contained in:
committed by
Baldur Karlsson
parent
4dc80c1793
commit
02103a9669
@@ -37,6 +37,15 @@ WrappedMTLDevice::WrappedMTLDevice(MTL::Device *realMTLDevice, ResourceId objId)
|
||||
{
|
||||
AllocateObjCBridge(this);
|
||||
m_Device = this;
|
||||
|
||||
if(RenderDoc::Inst().IsReplayApp())
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
m_State = CaptureState::BackgroundCapturing;
|
||||
}
|
||||
|
||||
threadSerialiserTLSSlot = Threading::AllocateTLSSlot();
|
||||
|
||||
m_ResourceManager = new MetalResourceManager(m_State, this);
|
||||
|
||||
Reference in New Issue
Block a user