Commit e0ad1021a512c258fa130917f332ee4799e926d7

Ryan C. Gordon 2015-04-08T02:22:28

Wayland: Patched to compile.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/video/wayland/SDL_waylandvideo.c b/src/video/wayland/SDL_waylandvideo.c
index 2733fd0..e91374b 100644
--- a/src/video/wayland/SDL_waylandvideo.c
+++ b/src/video/wayland/SDL_waylandvideo.c
@@ -297,10 +297,10 @@ Wayland_VideoInit(_THIS)
     wl_registry_add_listener(data->registry, &registry_listener, data);
 
     // First roundtrip to receive all registry objects.
-    wl_display_roundtrip(data->display);
+    WAYLAND_wl_display_roundtrip(data->display);
 
     // Second roundtrip to receive all output events.
-    wl_display_roundtrip(data->display);
+    WAYLAND_wl_display_roundtrip(data->display);
 
     data->xkb_context = WAYLAND_xkb_context_new(0);
     if (!data->xkb_context) {