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 <brianp@vmware.com>
This commit is contained in:
Philipp Brüschweiler 2013-03-08 21:32:36 +01:00 committed by Brian Paul
parent f4a2c29d93
commit c07c18081e

View file

@ -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;