Check only for relevant Vulkan extensions

Related to #858.
This commit is contained in:
Camilla Berglund
2016-09-14 15:21:52 +02:00
parent 3e59b7345c
commit 54930ddd33
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -455,11 +455,16 @@ struct _GLFWlibrary
PFN_vkGetInstanceProcAddr GetInstanceProcAddr;
#endif
GLFWbool KHR_surface;
#if defined(_GLFW_WIN32)
GLFWbool KHR_win32_surface;
#elif defined(_GLFW_X11)
GLFWbool KHR_xlib_surface;
GLFWbool KHR_xcb_surface;
#elif defined(_GLFW_WAYLAND)
GLFWbool KHR_wayland_surface;
#elif defined(_GLFW_MIR)
GLFWbool KHR_mir_surface;
#endif
} vk;
struct {