src/video/wayland/SDL_waylandvideo.h
changeset 8104 2e4f1bd21196
parent 8082 5b83ad3f01ac
child 8149 681eb46b8ac4
     1.1 --- a/src/video/wayland/SDL_waylandvideo.h	Wed Jan 08 14:53:08 2014 -0500
     1.2 +++ b/src/video/wayland/SDL_waylandvideo.h	Thu Jan 09 13:56:21 2014 -0300
     1.3 @@ -19,16 +19,13 @@
     1.4    3. This notice may not be removed or altered from any source distribution.
     1.5  */
     1.6  
     1.7 -#include "SDL_config.h"
     1.8 +#include "../../SDL_internal.h"
     1.9  
    1.10  #ifndef _SDL_waylandvideo_h
    1.11  #define _SDL_waylandvideo_h
    1.12  
    1.13 -#include <wayland-client.h>
    1.14 -#include <wayland-cursor.h>
    1.15 -#include <wayland-egl.h>
    1.16 -
    1.17  #include <EGL/egl.h>
    1.18 +#include "wayland-util.h"
    1.19  
    1.20  struct xkb_context;
    1.21  struct SDL_WaylandInput;
    1.22 @@ -72,12 +69,6 @@
    1.23      uint32_t shm_formats;
    1.24  } SDL_VideoData;
    1.25  
    1.26 -static inline void
    1.27 -wayland_schedule_write(SDL_VideoData *data)
    1.28 -{
    1.29 -    wl_display_flush(data->display);
    1.30 -}
    1.31 -
    1.32  #endif /* _SDL_nullvideo_h */
    1.33  
    1.34  /* vi: set ts=4 sw=4 expandtab: */