Skip to content

Instantly share code, notes, and snippets.

@Blei
Last active December 14, 2015 16:59
Show Gist options
  • Save Blei/5118802 to your computer and use it in GitHub Desktop.
Save Blei/5118802 to your computer and use it in GitHub Desktop.
Fix sw rendering for wayland
diff --git a/src/gallium/state_trackers/egl/wayland/native_shm.c b/src/gallium/state_trackers/egl/wayland/native_shm.c
index a959237..2499677 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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment