[backends/drm] Drm backend support syncsToVBlank

icc-effect-5.14.5
Martin Gräßlin 2015-07-17 20:39:37 +02:00
parent 8797f826f9
commit 339d9de351
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ EglGbmBackend::EglGbmBackend(DrmBackend *b)
init();
// Egl is always direct rendering
setIsDirectRendering(true);
setSyncsToVBlank(true);
connect(m_backend, &DrmBackend::outputAdded, this, &EglGbmBackend::createOutput);
connect(m_backend, &DrmBackend::outputRemoved, this,
[this] (DrmOutput *output) {