mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
mir: Disable Mir by default as Mir supports Wayland clients
Also remove enabling VK support for Mir
This commit is contained in:
parent
8891f5919f
commit
e17c3219d3
@ -1468,8 +1468,8 @@ dnl Check for Mir
|
|||||||
CheckMir()
|
CheckMir()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-mir,
|
AC_ARG_ENABLE(video-mir,
|
||||||
AC_HELP_STRING([--enable-video-mir], [use Mir video driver [[default=yes]]]),
|
AC_HELP_STRING([--enable-video-mir], [use Mir video driver [[default=no]]]),
|
||||||
,enable_video_mir=yes)
|
,enable_video_mir=no)
|
||||||
|
|
||||||
if test x$enable_video = xyes -a x$enable_video_mir = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_mir = xyes; then
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||||
|
@ -38,9 +38,6 @@
|
|||||||
#if SDL_VIDEO_DRIVER_COCOA
|
#if SDL_VIDEO_DRIVER_COCOA
|
||||||
#define VK_USE_PLATFORM_MACOS_MVK
|
#define VK_USE_PLATFORM_MACOS_MVK
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_MIR
|
|
||||||
#define VK_USE_PLATFORM_MIR_KHR
|
|
||||||
#endif
|
|
||||||
#if SDL_VIDEO_DRIVER_UIKIT
|
#if SDL_VIDEO_DRIVER_UIKIT
|
||||||
#define VK_USE_PLATFORM_IOS_MVK
|
#define VK_USE_PLATFORM_IOS_MVK
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user