Skip to content

Commit

Permalink
mir: Disable Mir by default as Mir supports Wayland clients
Browse files Browse the repository at this point in the history
Also remove enabling VK support for Mir
  • Loading branch information
BrandonSchaefer committed Feb 23, 2018
1 parent 8891f59 commit e17c321
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions configure.in
Expand Up @@ -1468,8 +1468,8 @@ dnl Check for Mir
CheckMir()
{
AC_ARG_ENABLE(video-mir,
AC_HELP_STRING([--enable-video-mir], [use Mir video driver [[default=yes]]]),
,enable_video_mir=yes)
AC_HELP_STRING([--enable-video-mir], [use Mir video driver [[default=no]]]),
,enable_video_mir=no)

if test x$enable_video = xyes -a x$enable_video_mir = xyes; then
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
Expand Down
3 changes: 0 additions & 3 deletions src/video/SDL_vulkan_internal.h
Expand Up @@ -38,9 +38,6 @@
#if SDL_VIDEO_DRIVER_COCOA
#define VK_USE_PLATFORM_MACOS_MVK
#endif
#if SDL_VIDEO_DRIVER_MIR
#define VK_USE_PLATFORM_MIR_KHR
#endif
#if SDL_VIDEO_DRIVER_UIKIT
#define VK_USE_PLATFORM_IOS_MVK
#endif
Expand Down

0 comments on commit e17c321

Please sign in to comment.