From 8dc6a1f00b4bc1bda2d00e2fcb758ada0301ae1c Mon Sep 17 00:00:00 2001 From: Sebastian Emanuel Dawid Date: Fri, 15 Aug 2025 23:12:47 +0200 Subject: [PATCH] Add surface creation function to wl platform initialization --- src/wl_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wl_init.c b/src/wl_init.c index ef9e4503..f6490c91 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -515,7 +515,8 @@ GLFWbool _glfwConnectWayland(int platformID, _GLFWplatform* platform) .getEGLNativeWindow = _glfwGetEGLNativeWindowWayland, .getRequiredInstanceExtensions = _glfwGetRequiredInstanceExtensionsWayland, .getPhysicalDevicePresentationSupport = _glfwGetPhysicalDevicePresentationSupportWayland, - .createWindowSurface = _glfwCreateWindowSurfaceWayland + .createWindowSurface = _glfwCreateWindowSurfaceWayland, + .createWindowWGPUSurface = _glfwCreateWindowWGPUSurfaceWayland }; void* module = _glfwPlatformLoadModule("libwayland-client.so.0");