mirror of
https://github.com/glfw/glfw.git
synced 2024-11-15 02:34:36 +00:00
UserContext: fixed wayland platform
This commit is contained in:
parent
23d31b805a
commit
dcf9a51b78
@ -1102,6 +1102,7 @@ GLFWbool _glfwConnectWayland(int platformID, _GLFWplatform* platform)
|
||||
_glfwWaitEventsWayland,
|
||||
_glfwWaitEventsTimeoutWayland,
|
||||
_glfwPostEmptyEventWayland,
|
||||
_glfwCreateUserContextWayland,
|
||||
_glfwGetEGLPlatformWayland,
|
||||
_glfwGetEGLNativeDisplayWayland,
|
||||
_glfwGetEGLNativeWindowWayland,
|
||||
|
@ -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);
|
||||
|
@ -1860,7 +1860,7 @@ VkResult _glfwCreateWindowSurfaceWayland(VkInstance instance,
|
||||
return err;
|
||||
}
|
||||
|
||||
_GLFWusercontext* _glfwPlatformCreateUserContext(_GLFWwindow* window)
|
||||
_GLFWusercontext* _glfwCreateUserContextWayland(_GLFWwindow* window)
|
||||
{
|
||||
if (window->context.egl.handle)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user