aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <[email protected]>2013-07-18 15:11:24 +0300
committerKristian Høgsberg <[email protected]>2013-08-07 10:37:58 -0700
commit602351dd58c11af072f706e41ff1a204dac26a86 (patch)
treed9e68764f88d7d156c8000063bf06310c98766ef /src/gallium/state_trackers
parent331a8fa41d174c74afe58f43a5943627398eac6b (diff)
gallium-egl: Don't add a listener for wl_drm twice in wayland platform
A listener is added just after the interface is bound, in registry_handle_global(). Signed-off-by: Ander Conselvan de Oliveira <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/egl/wayland/native_drm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/wayland/native_drm.c b/src/gallium/state_trackers/egl/wayland/native_drm.c
index a4bcdd8bab7..e1aeeebe82a 100644
--- a/src/gallium/state_trackers/egl/wayland/native_drm.c
+++ b/src/gallium/state_trackers/egl/wayland/native_drm.c
@@ -227,7 +227,6 @@ wayland_drm_display_init_screen(struct native_display *ndpy)
if (wayland_roundtrip(&drmdpy->base) < 0 || drmdpy->wl_drm == NULL)
return FALSE;
- wl_drm_add_listener(drmdpy->wl_drm, &drm_listener, drmdpy);
if (wayland_roundtrip(&drmdpy->base) < 0 || drmdpy->fd == -1)
return FALSE;