include/SDL_syswm.h
changeset 12391 ca6e41ade79a
parent 11957 eba3a7c4ba16
child 12397 244cdac21bcd
     1.1 --- a/include/SDL_syswm.h	Fri Nov 02 18:07:11 2018 -0700
     1.2 +++ b/include/SDL_syswm.h	Fri Nov 02 21:34:17 2018 -0400
     1.3 @@ -122,7 +122,7 @@
     1.4      SDL_SYSWM_COCOA,
     1.5      SDL_SYSWM_UIKIT,
     1.6      SDL_SYSWM_WAYLAND,
     1.7 -    SDL_SYSWM_MIR,
     1.8 +    SDL_SYSWM_MIR,  /* no longer available, left for API/ABI compatibility. Remove in 2.1! */
     1.9      SDL_SYSWM_WINRT,
    1.10      SDL_SYSWM_ANDROID,
    1.11      SDL_SYSWM_VIVANTE,
    1.12 @@ -257,11 +257,11 @@
    1.13              struct wl_shell_surface *shell_surface; /**< Wayland shell_surface (window manager handle) */
    1.14          } wl;
    1.15  #endif
    1.16 -#if defined(SDL_VIDEO_DRIVER_MIR)
    1.17 +#if defined(SDL_VIDEO_DRIVER_MIR)  /* no longer available, left for API/ABI compatibility. Remove in 2.1! */
    1.18          struct
    1.19          {
    1.20 -            struct MirConnection *connection;  /**< Mir display server connection */
    1.21 -            struct MirSurface *surface;  /**< Mir surface */
    1.22 +            void *connection;  /**< Mir display server connection */
    1.23 +            void *surface;  /**< Mir surface */
    1.24          } mir;
    1.25  #endif
    1.26