mirror of
https://github.com/glfw/glfw.git
synced 2025-12-16 12:13:17 +00:00
wait-events added comment
This commit is contained in:
parent
22427b1215
commit
9f2dc1fce2
@ -2709,6 +2709,7 @@ void _glfwWaitEventsTimeoutWayland(double timeout)
|
|||||||
|
|
||||||
static void wlSyncDoneHandler(void *data, struct wl_callback *callback, uint32_t callback_data)
|
static void wlSyncDoneHandler(void *data, struct wl_callback *callback, uint32_t callback_data)
|
||||||
{
|
{
|
||||||
|
// this will be called on the same thread as handleEvents
|
||||||
_glfw.newEventsRcvd = GLFW_TRUE;
|
_glfw.newEventsRcvd = GLFW_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user