From 728e369a4d06186e2fffafa0c93cd52fa6a749f1 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 13 Jul 2022 15:30:06 +0300 Subject: [PATCH] backends/virtual: Remove eglSwapBuffers() call It's noop, we use EGL_MESA_platform_surfaceless. --- src/backends/virtual/egl_gbm_backend.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/backends/virtual/egl_gbm_backend.cpp b/src/backends/virtual/egl_gbm_backend.cpp index 004aef0275..1fc123de27 100644 --- a/src/backends/virtual/egl_gbm_backend.cpp +++ b/src/backends/virtual/egl_gbm_backend.cpp @@ -215,8 +215,6 @@ void EglGbmBackend::present(Output *output) const std::unique_ptr &layer = m_outputs[output]; layer->texture()->toImage().save(QStringLiteral("%1/%2.png").arg(m_backend->saveFrames()).arg(QString::number(m_frameCounter++))); } - - eglSwapBuffers(eglDisplay(), surface()); } } // namespace