mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 06:24:57 +00:00
Add toggle (default on for now) to get debug layer in replay
This commit is contained in:
1 parent
d121567ddd
commit
e29e3d2357
1 file changed
+3
@@ -180,6 +180,9 @@ private:
|
||||
}
|
||||
|
||||
const bool EnableDebugLayer =
|
||||
#if 1 // toggle on/off if you want debug layer during replay
|
||||
RenderDoc::Inst().IsReplayApp() ||
|
||||
#endif
|
||||
(m_EnabledHooks && !reading && RenderDoc::Inst().GetCaptureOptions().APIValidation);
|
||||
|
||||
if(EnableDebugLayer)
|
||||
|
||||
Reference in new issue
Block a user