summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/wayland
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2013-02-14 20:47:29 -0500
committerKristian Høgsberg <[email protected]>2013-02-14 20:48:05 -0500
commit6dbe94c12cd1b3b912a7083055178e0dfd7372af (patch)
treec37b1752d4810c106284806487a476307a1e801c /src/gallium/state_trackers/egl/wayland
parent5bb05c6e6d596d66c177e42a36128d2ca2e300aa (diff)
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.
Diffstat (limited to 'src/gallium/state_trackers/egl/wayland')
-rw-r--r--src/gallium/state_trackers/egl/wayland/native_shm.c2
1 files changed, 1 insertions, 1 deletions
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;