mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-03 12:33:58 +00:00
Don't enable D3D12 debug layer in release builds on replay
This commit is contained in:
1 parent
9259055286
commit
8a1304f6b4
1 file changed
+2
-1
@@ -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