mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
Add toggle (default on for now) to get debug layer in replay
This commit is contained in:
@@ -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