diff options
author | Donald Carr <d@chaos-reins.com> | 2017-03-18 03:40:30 -0700 |
---|---|---|
committer | Donald Carr <d@chaos-reins.com> | 2017-03-18 10:54:14 +0000 |
commit | 53c1cbcdae80f7036f0d1b8bd8dffbdc70ff3a9e (patch) | |
tree | e77d25cdafa17702d820b1f58c3f3fc4c8900705 /src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp | |
parent | 3d8b3113c2349b5e002ece39ff20118b471aac6e (diff) | |
download | qtwayland-53c1cbcdae80f7036f0d1b8bd8dffbdc70ff3a9e.tar.gz |
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>
Diffstat (limited to 'src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp')
-rw-r--r-- | src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp | 4 |
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 22618b4a..9842f61c 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(); |