diff --git a/src/wl_init.c b/src/wl_init.c index f02c6320..16570829 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -1102,6 +1102,7 @@ GLFWbool _glfwConnectWayland(int platformID, _GLFWplatform* platform) _glfwWaitEventsWayland, _glfwWaitEventsTimeoutWayland, _glfwPostEmptyEventWayland, + _glfwCreateUserContextWayland, _glfwGetEGLPlatformWayland, _glfwGetEGLNativeDisplayWayland, _glfwGetEGLNativeWindowWayland, diff --git a/src/wl_platform.h b/src/wl_platform.h index ba405714..2b84a10c 100644 --- a/src/wl_platform.h +++ b/src/wl_platform.h @@ -498,3 +498,4 @@ void _glfwSetGammaRampWayland(_GLFWmonitor* monitor, const GLFWgammaramp* ramp); void _glfwAddOutputWayland(uint32_t name, uint32_t version); GLFWbool _glfwInputTextWayland(_GLFWwindow* window, uint32_t scancode); +_GLFWusercontext* _glfwCreateUserContextWayland(_GLFWwindow* window); diff --git a/src/wl_window.c b/src/wl_window.c index 165a1bd4..f3f5648a 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1860,7 +1860,7 @@ VkResult _glfwCreateWindowSurfaceWayland(VkInstance instance, return err; } -_GLFWusercontext* _glfwPlatformCreateUserContext(_GLFWwindow* window) +_GLFWusercontext* _glfwCreateUserContextWayland(_GLFWwindow* window) { if (window->context.egl.handle) {