mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 12:08:06 +02:00
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:
parent
f4a2c29d93
commit
c07c18081e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue