Add GLFW_X11_XCB_VULKAN_SURFACE init hint

This hint controls whether GLFW will try to use VK_KHR_xcb_surface
before falling back to VK_KHR_xlib_surface.

Closes #1793.
This commit is contained in:
Nicolas Caramelli
2020-10-23 18:55:37 +02:00
committed by Camilla Löwy
parent f4a7329604
commit 84f95a7d7f
4 changed files with 21 additions and 3 deletions
+3
View File
@@ -248,6 +248,9 @@ struct _GLFWinitconfig
GLFWbool menubar;
GLFWbool chdir;
} ns;
struct {
GLFWbool xcbVulkanSurface;
} x11;
};
// Window configuration