mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-05-06 01:30:44 +00:00
disable fsr swapchain when dlssg is active
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user