mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Bring back atomic async page flip support
Now that we're referencing the AVFrame to keep the buffers from being reused during scanout, this should hopefully work better.
This commit is contained in:
@@ -494,7 +494,7 @@ bool DrmRenderer::initialize(PDECODER_PARAMETERS params)
|
||||
atomic = true;
|
||||
}
|
||||
|
||||
m_PropSetter.initialize(m_DrmFd, atomic);
|
||||
m_PropSetter.initialize(m_DrmFd, atomic, !params->enableVsync);
|
||||
|
||||
drmModePlaneRes* planeRes = drmModeGetPlaneResources(m_DrmFd);
|
||||
if (planeRes == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user