summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorPhilipp Brüschweiler <[email protected]>2013-03-08 21:32:36 +0100
committerBrian Paul <[email protected]>2013-03-15 06:50:23 -0600
commitc07c18081e3b21070c7db3aea0c7a31a31ff20ce (patch)
tree281be984ef856c45f657da53ebef42fb09d60c80 /src/gallium
parentf4a2c29d932b91fe0a311a656b4ce1fa061a4f6b (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/egl/wayland/native_shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/wayland/native_shm.c b/src/gallium/state_trackers/egl/wayland/native_shm.c
index a9592377ab5..2499677f6c9 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;