Sfoglia il codice sorgente

Wayland: Patched to compile.

Ryan C. Gordon 10 anni fa
parent
commit
e0ad1021a5
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/video/wayland/SDL_waylandvideo.c

+ 2 - 2
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) {