From c07c18081e3b21070c7db3aea0c7a31a31ff20ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philipp=20Br=C3=BCschweiler?= Date: Fri, 8 Mar 2013 21:32:36 +0100 Subject: [PATCH] wayland: fix segfault when using software rendering wayland_roundtrip() was given an incorrect parameter. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=62362 Note: This is a candidate for the stable branches. Signed-off-by: Brian Paul --- src/gallium/state_trackers/egl/wayland/native_shm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2