[Mesa-dev] [PATCH] wayland: fix segfault when using software rendering
Brian Paul
brianp at vmware.com
Fri Mar 15 05:51:49 PDT 2013
On 03/08/2013 01:32 PM, Philipp Brüschweiler wrote:
> wayland_roundtrip() was given an incorrect parameter.
> ---
> 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 a959237..2499677 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;
>
Thanks. Looks good to me and it matches the patch posted in
https://bugs.freedesktop.org/show_bug.cgi?id=62362
I'll push this soon.
-Brian
More information about the mesa-dev
mailing list