Don't enable D3D12 debug layer in release builds on replay

This commit is contained in:
baldurk
2017-05-16 23:34:46 +01:00
parent 9259055286
commit 8a1304f6b4
+2 -1
View File
@@ -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);