summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a9592377ab5..2499677f6c9 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)
- wayland_roundtrip(shmdpy->base.dpy);
+ wayland_roundtrip(&shmdpy->base);
if (shmdpy->base.formats == 0)
return FALSE;