https://bugs.freedesktop.org/show_bug.cgi?id=62362
Priority: medium Bug ID: 62362 Assignee: mesa-dev@lists.freedesktop.org Summary: Crash when using Wayland EGL platform Severity: normal Classification: Unclassified OS: Linux (All) Reporter: geoma...@gmail.com Hardware: All Status: NEW Version: git Component: Mesa core Product: Mesa Crash in Mesa when using Wayland EGL platform: The root cause is incorrect parameter for wayland_roundtrip() in function wayland_shm_display_init_screen (see file src/gallium/state_trackers/egl/wayland/native_shm.c). The following patch fixes the issue: diff --git a/src/gallium/state_trackers/egl/wayland/native_shm.c b/src/gallium/state_trackers/egl/wayland/native_shm.c index a959237..e543619 100644 --- a/src/gallium/state_trackers/egl/wayland/native_shm.c +++ b/src/gallium/state_trackers/egl/wayland/native_shm.c @@ -163,7 +163,8 @@ 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; -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev