mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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 <ander.conselvan.de.oliveira@intel.com>
This commit is contained in:
parent
331a8fa41d
commit
602351dd58
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue