From: Philipp Brüschweiler Date: Fri, 8 Mar 2013 20:32:36 +0000 (+0100) Subject: wayland: fix segfault when using software rendering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c07c18081e3b21070c7db3aea0c7a31a31ff20ce;p=mesa.git 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 --- 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;