summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp')
-rw-r--r--src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp b/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp
index 22618b4aa..9842f61c9 100644
--- a/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp
+++ b/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp
@@ -252,9 +252,7 @@ void QWaylandBrcmEglWindow::swapBuffers()
return;
m_buffers[m_current]->bind();
- attach(m_buffers[m_current], 0, 0);
- damage(QRect(QPoint(), geometry().size()));
- wl_surface::commit();
+ commit(m_buffers[m_current], QRegion(0, 0, geometry().size().width(), geometry().size().height()));
m_current = (m_current + 1) % m_count;
m_buffers[m_current]->waitForRelease();