From 02f644d720002fb7d0195c7858ad75c196bef923 Mon Sep 17 00:00:00 2001 From: cdozdil Date: Sun, 8 Nov 2026 08:58:41 +0300 Subject: [PATCH] Enable Reflex when DLSSG is activated --- OptiScaler/framegen/dlssg/DLSSG_Common.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OptiScaler/framegen/dlssg/DLSSG_Common.cpp b/OptiScaler/framegen/dlssg/DLSSG_Common.cpp index 6c6d11fe..bb8c7175 100644 --- a/OptiScaler/framegen/dlssg/DLSSG_Common.cpp +++ b/OptiScaler/framegen/dlssg/DLSSG_Common.cpp @@ -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; }