mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-05-03 08:11:09 +00:00
Enable ModifySCIndex by default
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user