Enable ModifySCIndex by default

This commit is contained in:
cdozdil
2026-03-29 00:54:02 +03:00
parent a7a6912750
commit 3833d8bebf
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ ModifyBufferState=auto
; OptiScaler will try to set swapchain index by calling present
; until index reaches 0
; Might cause crashes or fix them
; true or false - Default (auto) is false
; true or false - Default (auto) is true
ModifySCIndex=auto
+1 -1
View File
@@ -445,7 +445,7 @@ class Config
CustomOptional<bool> FGPreserveSwapChain { true };
CustomOptional<bool> FGSkipResizeBuffers { true };
CustomOptional<bool> FGModifyBufferState { false };
CustomOptional<bool> FGModifySCIndex { false };
CustomOptional<bool> FGModifySCIndex { true };
CustomOptional<FrameTimeSource> FTInput { FrameTimeSource::Input };
// OptiFG
+1
View File
@@ -226,6 +226,7 @@ bool XeFG_Dx12::CreateSwapchain(IDXGIFactory* factory, ID3D12CommandQueue* cmdQu
desc->BufferDesc.Format, desc->Flags) == S_OK;
*swapChain = State::Instance().currentFGSwapchain;
return result;
}
// Game is creating new swapchain without releasing old one,