GHOST: remove X11 include when WITH_GHOST_X11=11
This commit is contained in:
parent
95f620fd3d
commit
5b7175c982
|
@ -19,7 +19,12 @@
|
|||
#elif defined(__APPLE__)
|
||||
# include "GHOST_SystemCocoa.hh"
|
||||
#else
|
||||
# ifdef WITH_GHOST_X11
|
||||
# include "GHOST_SystemX11.hh"
|
||||
# else
|
||||
# define Display void
|
||||
# define Window void *
|
||||
# endif
|
||||
# ifdef WITH_GHOST_WAYLAND
|
||||
# include "GHOST_SystemWayland.hh"
|
||||
# else
|
||||
|
@ -40,9 +45,11 @@
|
|||
#endif
|
||||
|
||||
typedef enum {
|
||||
#ifdef WITH_GHOST_X11
|
||||
GHOST_kVulkanPlatformX11 = 0,
|
||||
#endif
|
||||
#ifdef WITH_GHOST_WAYLAND
|
||||
GHOST_kVulkanPlatformWayland,
|
||||
GHOST_kVulkanPlatformWayland = 1,
|
||||
#endif
|
||||
} GHOST_TVulkanPlatformType;
|
||||
|
||||
|
|
Loading…
Reference in New Issue