From 1b8ac662bc6bca415b0cd886d04b0bd257bd47c1 Mon Sep 17 00:00:00 2001 From: swinston Date: Wed, 19 Aug 2026 17:28:37 -0700 Subject: [PATCH] Mention Wayland surface creation alongside X11 in Window_surface.adoc --- .../01_Presentation/00_Window_surface.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/en/03_Drawing_a_triangle/01_Presentation/00_Window_surface.adoc b/en/03_Drawing_a_triangle/01_Presentation/00_Window_surface.adoc index 9f8fea10..d56f1b67 100644 --- a/en/03_Drawing_a_triangle/01_Presentation/00_Window_surface.adoc +++ b/en/03_Drawing_a_triangle/01_Presentation/00_Window_surface.adoc @@ -95,7 +95,8 @@ surface = instance.createWin32SurfaceKHR(createInfo); The process is similar for other platforms like Linux, where `vk::raii::Instance::createXcbSurfaceKHR` takes an XCB connection and window as creation details -with X11. +with X11, or `vk::raii::Instance::createWaylandSurfaceKHR`, which takes a `wl_display` and a +`wl_surface` instead, if you're running under Wayland. The `glfwCreateWindowSurface` function performs exactly this operation with a different implementation for each platform. We'll now integrate it into our