Enable Reflex when DLSSG is activated

This commit is contained in:
cdozdil committed 2026-11-08 08:58:41 +03:00
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;
}