mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-05-03 08:11:09 +00:00
XeFG now obeys interpolation count setting when initing
This commit is contained in:
@@ -318,4 +318,4 @@ void IFGFeature::SetResourceReady(FG_ResourceType type, int index)
|
||||
_resourceFrame[type] = _frameCount;
|
||||
}
|
||||
|
||||
UINT IFGFeature::GetInterpolatedFrameCount() { return _framesToInterpolate; }
|
||||
UINT IFGFeature::GetInterpolatedFrameCount() { return _framesToInterpolate < 0 ? 1 : _framesToInterpolate; }
|
||||
|
||||
@@ -73,7 +73,7 @@ class IFGFeature
|
||||
UINT64 _lastDispatchedFrame = 0;
|
||||
UINT64 _lastFGFrame = 0;
|
||||
bool _waitingNewFrameData = false;
|
||||
int _framesToInterpolate = 1;
|
||||
int _framesToInterpolate = -1;
|
||||
|
||||
bool _isActive = false;
|
||||
UINT64 _targetFrame = 0;
|
||||
|
||||
Reference in New Issue
Block a user