mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 07:34:35 +00:00
Fix event processing guide section
This commit is contained in:
parent
17bcefeac1
commit
728a088cd7
@ -33,8 +33,10 @@ information.
|
|||||||
|
|
||||||
GLFW needs to communicate regularly with the window system both in order to
|
GLFW needs to communicate regularly with the window system both in order to
|
||||||
receive events and to show that the application hasn't locked up. Event
|
receive events and to show that the application hasn't locked up. Event
|
||||||
processing must be done regularly while you have visible windows and is normally
|
processing must be done regularly while you have any windows and is normally
|
||||||
done each frame after [buffer swapping](@ref buffer_swap).
|
done each frame after [buffer swapping](@ref buffer_swap). Even when you have
|
||||||
|
no windows, event polling needs to be done in order to receive monitor
|
||||||
|
connection events.
|
||||||
|
|
||||||
There are two functions for processing pending events. @ref glfwPollEvents,
|
There are two functions for processing pending events. @ref glfwPollEvents,
|
||||||
processes only those events that have already been received and then returns
|
processes only those events that have already been received and then returns
|
||||||
|
Loading…
Reference in New Issue
Block a user