presentation-feedback: fix invalid values sent after aq merge

This commit is contained in:
Vaxry
2024-07-21 19:25:01 +02:00
parent e6fc9873b5
commit 3b6bcd6ddc
2 changed files with 10 additions and 2 deletions

View File

@@ -463,7 +463,7 @@ void CWLSurfaceResource::presentFeedback(timespec* when, CMonitor* pMonitor, boo
frame(when);
auto FEEDBACK = makeShared<CQueuedPresentationData>(self.lock());
FEEDBACK->attachMonitor(pMonitor);
FEEDBACK->discarded();
FEEDBACK->presented();
PROTO::presentation->queueData(FEEDBACK);
if (!pMonitor || !pMonitor->outTimeline || !syncobj || !needsExplicitSync)