mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-11-22 21:57:39 +00:00
Enable Reflex when DLSSG is activated
This commit is contained in:
1 parent
c30e387b06
commit
02f644d720
1 file changed
+8
@@ -25,6 +25,14 @@ void DLSSG_Common::Activate()
|
||||
|
||||
if (!_isActive)
|
||||
{
|
||||
// Present markers sent while Reflex is off are dropped, the first dispatch comes after the present start
|
||||
sl::ReflexOptions reflexConst = {};
|
||||
reflexConst.mode = sl::ReflexMode::eLowLatency;
|
||||
ScopedOptiScalerReflex optiScalerCall {};
|
||||
|
||||
if (StreamlineProxy::ReflexSetOptions() != nullptr)
|
||||
StreamlineProxy::ReflexSetOptions()(reflexConst);
|
||||
|
||||
UpdateTarget();
|
||||
_isActive = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user