Last active
December 14, 2015 16:59
-
-
Save Blei/5118802 to your computer and use it in GitHub Desktop.
Fix sw rendering for wayland
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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