mirror of
https://github.com/glfw/glfw.git
synced 2024-11-15 10:44:34 +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,
|
_glfwWaitEventsWayland,
|
||||||
_glfwWaitEventsTimeoutWayland,
|
_glfwWaitEventsTimeoutWayland,
|
||||||
_glfwPostEmptyEventWayland,
|
_glfwPostEmptyEventWayland,
|
||||||
|
_glfwCreateUserContextWayland,
|
||||||
_glfwGetEGLPlatformWayland,
|
_glfwGetEGLPlatformWayland,
|
||||||
_glfwGetEGLNativeDisplayWayland,
|
_glfwGetEGLNativeDisplayWayland,
|
||||||
_glfwGetEGLNativeWindowWayland,
|
_glfwGetEGLNativeWindowWayland,
|
||||||
|
@ -498,3 +498,4 @@ void _glfwSetGammaRampWayland(_GLFWmonitor* monitor, const GLFWgammaramp* ramp);
|
|||||||
void _glfwAddOutputWayland(uint32_t name, uint32_t version);
|
void _glfwAddOutputWayland(uint32_t name, uint32_t version);
|
||||||
GLFWbool _glfwInputTextWayland(_GLFWwindow* window, uint32_t scancode);
|
GLFWbool _glfwInputTextWayland(_GLFWwindow* window, uint32_t scancode);
|
||||||
|
|
||||||
|
_GLFWusercontext* _glfwCreateUserContextWayland(_GLFWwindow* window);
|
||||||
|
@ -1860,7 +1860,7 @@ VkResult _glfwCreateWindowSurfaceWayland(VkInstance instance,
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
_GLFWusercontext* _glfwPlatformCreateUserContext(_GLFWwindow* window)
|
_GLFWusercontext* _glfwCreateUserContextWayland(_GLFWwindow* window)
|
||||||
{
|
{
|
||||||
if (window->context.egl.handle)
|
if (window->context.egl.handle)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user