Add surface creation function to wl platform initialization

This commit is contained in:
Sebastian Emanuel Dawid 2025-08-15 23:12:47 +02:00
parent 2f44430536
commit 8dc6a1f00b

View File

@ -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");