mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 09:08:58 +00:00
Documentation work
This commit is contained in:
@@ -2428,6 +2428,8 @@ void _glfwPlatformGetRequiredInstanceExtensions(char** extensions)
|
||||
|
||||
extensions[0] = "VK_KHR_surface";
|
||||
|
||||
// NOTE: VK_KHR_xcb_surface is preferred due to some early ICDs exposing but
|
||||
// not correctly implementing VK_KHR_xlib_surface
|
||||
if (_glfw.vk.KHR_xcb_surface && _glfw.x11.x11xcb.handle)
|
||||
extensions[1] = "VK_KHR_xcb_surface";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user