aboutsummarylogtreecommitdiffstats
path: root/0001-Fix-brcm-egl-build-by-correcting-commit-usage.patch
blob: 9cdfe7c8434d23d7361078b8a01f809b1e76d0b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 458ce42f8177cc51f882fc408d8252d30ece660c Mon Sep 17 00:00:00 2001
From: Donald Carr <sirspudd@gmail.com>
Date: Thu, 17 Nov 2016 15:04:43 -0800
Subject: [PATCH] Fix brcm-egl build by correcting commit() usage

Adjusted existing call to commit() in keeping with parallel changes in 5b807802

Change-Id: I31c17336efa9a79a5f6c1719702215db7239a97d
---
 src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp b/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglwindow.cpp
index 4d56d66..9842f61 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()));
-    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();
-- 
2.10.2