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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user