disable fsr swapchain when dlssg is active

This commit is contained in:
cdozdil
2025-01-20 01:29:42 +03:00
parent 64e3e5efd4
commit 76044df40f
+7
View File
@@ -2571,8 +2571,15 @@ bool ImGuiCommon::RenderMenu()
SeparatorWithHelpMarker("Enable DLSSG", "These settings will be active on next boot!");
auto dlssgEnabled = Config::Instance()->DLSSGMod.value_or(false);
if (ImGui::Checkbox("DLSSG Enabled", &dlssgEnabled))
{
Config::Instance()->DLSSGMod = dlssgEnabled;
if (dlssgEnabled)
Config::Instance()->FGUseFGSwapChain = false;
else
Config::Instance()->FGUseFGSwapChain.reset();
}
auto hagsSpoofing = Config::Instance()->SpoofHAGS.value_or(dlssgEnabled);
if (ImGui::Checkbox("HAGS Spoofing Enabled", &hagsSpoofing))
Config::Instance()->SpoofHAGS = hagsSpoofing;