Compare commits
2 Commits
a49e22e16a
...
0a59f6e5c9
Author | SHA1 | Date |
---|---|---|
camdenorrb | 0a59f6e5c9 | |
camdenorrb | de4db4bb0b |
|
@ -214,26 +214,27 @@ int main(int argc, char* argv[])
|
|||
parser->add_option("-p", "--platform")
|
||||
.action("store")
|
||||
.help("Window platform to use [%choices]")
|
||||
.choices({"headless"
|
||||
.choices({
|
||||
"headless"
|
||||
#ifdef __linux__
|
||||
,
|
||||
"fbdev"
|
||||
,
|
||||
"fbdev"
|
||||
#endif
|
||||
#if HAVE_DRM
|
||||
,
|
||||
"drm"
|
||||
,
|
||||
"drm"
|
||||
#endif
|
||||
#if HAVE_X11
|
||||
,
|
||||
"x11"
|
||||
,
|
||||
"x11"
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
,
|
||||
"win32"
|
||||
,
|
||||
"win32"
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
,
|
||||
"macos"
|
||||
,
|
||||
"macos"
|
||||
#endif
|
||||
});
|
||||
|
||||
|
|
|
@ -50,12 +50,12 @@ VULKAN_INSTANCE_ENTRY_POINT(vkGetPhysicalDeviceXlibPresentationSupportKHR, false
|
|||
#endif
|
||||
|
||||
#if defined(VK_USE_PLATFORM_DISPLAY_KHR)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkCreateDisplayPlaneSurfaceKHR, true)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetDisplayPlaneCapabilitiesKHR, true)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetPhysicalDeviceDisplayPlanePropertiesKHR, true)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetDisplayPlaneSupportedDisplaysKHR, true)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetDisplayModePropertiesKHR, true)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetPhysicalDeviceDisplayPropertiesKHR, true)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkCreateDisplayPlaneSurfaceKHR, false)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetDisplayPlaneCapabilitiesKHR, false)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetPhysicalDeviceDisplayPlanePropertiesKHR, false)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetDisplayPlaneSupportedDisplaysKHR, false)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetDisplayModePropertiesKHR, false)
|
||||
VULKAN_INSTANCE_ENTRY_POINT(vkGetPhysicalDeviceDisplayPropertiesKHR, false)
|
||||
#endif
|
||||
|
||||
#if defined(VK_USE_PLATFORM_ANDROID_KHR)
|
||||
|
|
Loading…
Reference in New Issue