mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't enable D3D12 debug layer in release builds on replay
This commit is contained in:
@@ -190,7 +190,8 @@ private:
|
||||
}
|
||||
|
||||
const bool EnableDebugLayer =
|
||||
#if 1 // toggle on/off if you want debug layer during replay
|
||||
// toggle on/off if you want debug layer during replay
|
||||
#if ENABLED(RDOC_DEVEL)
|
||||
RenderDoc::Inst().IsReplayApp() ||
|
||||
#endif
|
||||
(m_EnabledHooks && !reading && RenderDoc::Inst().GetCaptureOptions().APIValidation);
|
||||
|
||||
Reference in New Issue
Block a user