egl-wayland: Fix left-over wl_display_roundtrip() usage
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Feb 2013 01:47:29 +0000 (20:47 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Feb 2013 01:48:05 +0000 (20:48 -0500)
We have to use the EGL wayland event queue for roundtrip, so use the
wayland_roundtrip() helper, which does just that.

src/gallium/state_trackers/egl/wayland/native_shm.c

index 9fb80772e7849aaeb3b9c3a9fee08bb0a788208e..a9592377ab5e1573dc2c885e8248031254a893b5 100644 (file)
@@ -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;