From 8f25b643727def673b9446cbc5695762f6a83f8e Mon Sep 17 00:00:00 2001 From: Matthieu Bucchianeri Date: Mon, 30 Jan 2023 23:35:19 -0800 Subject: [PATCH] Disable Frame Analyzer in DCS World since it produces worse effects. (cherry picked from commit cde319dc1f989e621bbe180b0ada4a9327a8f4a5) --- XR_APILAYER_NOVENDOR_toolkit/layer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/XR_APILAYER_NOVENDOR_toolkit/layer.cpp b/XR_APILAYER_NOVENDOR_toolkit/layer.cpp index ad4387b..0aa7735 100644 --- a/XR_APILAYER_NOVENDOR_toolkit/layer.cpp +++ b/XR_APILAYER_NOVENDOR_toolkit/layer.cpp @@ -212,7 +212,8 @@ namespace { : 0); // We disable the frame analyzer when using OpenComposite, because the app does not see the OpenXR // textures anyways. - m_configManager->setDefault("disable_frame_analyzer", !m_isOpenComposite ? 0 : 1); + m_configManager->setDefault("disable_frame_analyzer", + m_isOpenComposite || m_applicationName == "DCS World"); m_configManager->setDefault("canting", 0); m_configManager->setDefault("vrs_capture", 0); m_configManager->setDefault("force_vprt_path", 0);