summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-raspberrypi/recipes-graphics/userland/userland/0005-interface-remove-faulty-assert-to-make-weston-happy-.patch
blob: 6f4193296a2d167ab3da94ba922215f0296c020a (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
From 6c9d407c9ec0859380e7bcf35cf915cef4b3687b Mon Sep 17 00:00:00 2001
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
Date: Sat, 24 Jan 2015 22:07:19 +0100
Subject: [PATCH 05/13] interface: remove faulty assert() to make weston happy
 at runtime

This was removed after a discussion on IRC with the weston guys
('daniels' on irc.freenode.net/#wayland).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 interface/vmcs_host/vc_vchi_dispmanx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/interface/vmcs_host/vc_vchi_dispmanx.c b/interface/vmcs_host/vc_vchi_dispmanx.c
index 3e668f5..8e065dc 100755
--- a/interface/vmcs_host/vc_vchi_dispmanx.c
+++ b/interface/vmcs_host/vc_vchi_dispmanx.c
@@ -1304,7 +1304,6 @@ static void *dispmanx_notify_func( void *arg ) {
          // Decrement the use count - the corresponding "use" is in vc_dispmanx_update_submit.
          vchi_service_release(dispmanx_client.notify_handle[0]);
          if (dispmanx_client.update_callback ) {
-            vcos_assert( dispmanx_client.pending_update_handle == handle);
             dispmanx_client.update_callback(handle, dispmanx_client.update_callback_param);
          }
       } else {
-- 
2.9.0

OpenPOWER on IntegriCloud