summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Carr <d@chaos-reins.com>2017-03-18 03:40:30 -0700
committerDonald Carr <d@chaos-reins.com>2017-03-18 10:54:14 +0000
commit53c1cbcdae80f7036f0d1b8bd8dffbdc70ff3a9e (patch)
treee77d25cdafa17702d820b1f58c3f3fc4c8900705
parent3d8b3113c2349b5e002ece39ff20118b471aac6e (diff)
Fix brcm-egl build by correcting commit() usage
Adjusted existing call to commit() in keeping with parallel changes in 5b807802 Change-Id: I31c17336efa9a79a5f6c1719702215db7239a97d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-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();