]>
Commit | Line | Data |
---|---|---|
1 | From 38e128d799217a08ea12ddf75a6a7ed440384b5f Mon Sep 17 00:00:00 2001 | |
2 | From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | |
3 | Date: Thu, 18 Jul 2013 15:11:24 +0300 | |
4 | Subject: [PATCH 2/4] gallium-egl: Don't add a listener for wl_drm twice in | |
5 | wayland platform | |
6 | ||
7 | A listener is added just after the interface is bound, in | |
8 | registry_handle_global(). | |
9 | ||
10 | Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | |
11 | --- | |
12 | src/gallium/state_trackers/egl/wayland/native_drm.c | 1 - | |
13 | 1 file changed, 1 deletion(-) | |
14 | ||
15 | diff --git a/src/gallium/state_trackers/egl/wayland/native_drm.c b/src/gallium/state_trackers/egl/wayland/native_drm.c | |
16 | index a4bcdd8..e1aeeeb 100644 | |
17 | --- a/src/gallium/state_trackers/egl/wayland/native_drm.c | |
18 | +++ b/src/gallium/state_trackers/egl/wayland/native_drm.c | |
19 | @@ -227,7 +227,6 @@ wayland_drm_display_init_screen(struct native_display *ndpy) | |
20 | if (wayland_roundtrip(&drmdpy->base) < 0 || drmdpy->wl_drm == NULL) | |
21 | return FALSE; | |
22 | ||
23 | - wl_drm_add_listener(drmdpy->wl_drm, &drm_listener, drmdpy); | |
24 | if (wayland_roundtrip(&drmdpy->base) < 0 || drmdpy->fd == -1) | |
25 | return FALSE; | |
26 | ||
27 | -- | |
28 | 1.8.4 | |
29 |