Add toggle (default on for now) to get debug layer in replay

This commit is contained in:
baldurk
2016-08-06 18:31:26 +02:00
parent d121567ddd
commit e29e3d2357
+3
View File
@@ -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)