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:
committed by
Brian Paul
parent
f4a2c29d93
commit
c07c18081e
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user