mir: Disable Mir by default as Mir supports Wayland clients
authorBrandon Schaefer <brandontschaefer@gmail.com>
Fri, 23 Feb 2018 11:24:26 -0500
changeset 11894cd67e676bca7
parent 11893 f7c6b974d5af
child 11895 0bd9e1e133e9
mir: Disable Mir by default as Mir supports Wayland clients

Also remove enabling VK support for Mir
configure.in
src/video/SDL_vulkan_internal.h
     1.1 --- a/configure.in	Wed Feb 21 22:53:52 2018 -0500
     1.2 +++ b/configure.in	Fri Feb 23 11:24:26 2018 -0500
     1.3 @@ -1468,8 +1468,8 @@
     1.4  CheckMir()
     1.5  {
     1.6      AC_ARG_ENABLE(video-mir,
     1.7 -AC_HELP_STRING([--enable-video-mir], [use Mir video driver [[default=yes]]]),
     1.8 -                  ,enable_video_mir=yes)
     1.9 +AC_HELP_STRING([--enable-video-mir], [use Mir video driver [[default=no]]]),
    1.10 +                  ,enable_video_mir=no)
    1.11  
    1.12      if test x$enable_video = xyes -a x$enable_video_mir = xyes; then
    1.13          AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
     2.1 --- a/src/video/SDL_vulkan_internal.h	Wed Feb 21 22:53:52 2018 -0500
     2.2 +++ b/src/video/SDL_vulkan_internal.h	Fri Feb 23 11:24:26 2018 -0500
     2.3 @@ -38,9 +38,6 @@
     2.4  #if SDL_VIDEO_DRIVER_COCOA
     2.5  #define VK_USE_PLATFORM_MACOS_MVK
     2.6  #endif
     2.7 -#if SDL_VIDEO_DRIVER_MIR
     2.8 -#define VK_USE_PLATFORM_MIR_KHR
     2.9 -#endif
    2.10  #if SDL_VIDEO_DRIVER_UIKIT
    2.11  #define VK_USE_PLATFORM_IOS_MVK
    2.12  #endif