mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-03 22:03:04 +00:00
Ability to compile now with --enable-wayland and --disable-x11
defined
This commit is contained in:
parent
08ed4d0e57
commit
f79418459f
@ -17,9 +17,11 @@
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_X11
|
||||
#ifdef HAVE_XCB
|
||||
#include <X11/Xlib-xcb.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <retro_assert.h>
|
||||
#include <dynamic/dylib.h>
|
||||
@ -1485,6 +1487,7 @@ bool vulkan_surface_create(gfx_ctx_vulkan_data_t *vk,
|
||||
#endif
|
||||
break;
|
||||
case VULKAN_WSI_XCB:
|
||||
#ifdef HAVE_X11
|
||||
#ifdef HAVE_XCB
|
||||
{
|
||||
VkXcbSurfaceCreateInfoKHR surf_info;
|
||||
@ -1501,6 +1504,7 @@ bool vulkan_surface_create(gfx_ctx_vulkan_data_t *vk,
|
||||
!= VK_SUCCESS)
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
break;
|
||||
case VULKAN_WSI_MIR:
|
||||
|
Loading…
Reference in New Issue
Block a user