[backends/drm] Drm backend support syncsToVBlank
This commit is contained in:
parent
8797f826f9
commit
339d9de351
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue