From: Kristian Høgsberg Date: Fri, 15 Feb 2013 01:47:29 +0000 (-0500) Subject: egl-wayland: Fix left-over wl_display_roundtrip() usage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6dbe94c12cd1b3b912a7083055178e0dfd7372af;p=mesa.git egl-wayland: Fix left-over wl_display_roundtrip() usage We have to use the EGL wayland event queue for roundtrip, so use the wayland_roundtrip() helper, which does just that. --- diff --git a/src/gallium/state_trackers/egl/wayland/native_shm.c b/src/gallium/state_trackers/egl/wayland/native_shm.c index 9fb80772e78..a9592377ab5 100644 --- a/src/gallium/state_trackers/egl/wayland/native_shm.c +++ b/src/gallium/state_trackers/egl/wayland/native_shm.c @@ -163,7 +163,7 @@ wayland_shm_display_init_screen(struct native_display *ndpy) return FALSE; if (shmdpy->base.formats == 0) - wl_display_roundtrip(shmdpy->base.dpy); + wayland_roundtrip(shmdpy->base.dpy); if (shmdpy->base.formats == 0) return FALSE;