mirror of
https://github.com/glfw/glfw.git
synced 2025-08-31 19:11:49 +00:00
Add surface creation function to wl platform initialization
This commit is contained in:
parent
2f44430536
commit
8dc6a1f00b
@ -515,7 +515,8 @@ GLFWbool _glfwConnectWayland(int platformID, _GLFWplatform* platform)
|
|||||||
.getEGLNativeWindow = _glfwGetEGLNativeWindowWayland,
|
.getEGLNativeWindow = _glfwGetEGLNativeWindowWayland,
|
||||||
.getRequiredInstanceExtensions = _glfwGetRequiredInstanceExtensionsWayland,
|
.getRequiredInstanceExtensions = _glfwGetRequiredInstanceExtensionsWayland,
|
||||||
.getPhysicalDevicePresentationSupport = _glfwGetPhysicalDevicePresentationSupportWayland,
|
.getPhysicalDevicePresentationSupport = _glfwGetPhysicalDevicePresentationSupportWayland,
|
||||||
.createWindowSurface = _glfwCreateWindowSurfaceWayland
|
.createWindowSurface = _glfwCreateWindowSurfaceWayland,
|
||||||
|
.createWindowWGPUSurface = _glfwCreateWindowWGPUSurfaceWayland
|
||||||
};
|
};
|
||||||
|
|
||||||
void* module = _glfwPlatformLoadModule("libwayland-client.so.0");
|
void* module = _glfwPlatformLoadModule("libwayland-client.so.0");
|
||||||
|
Loading…
Reference in New Issue
Block a user