Fix event processing guide section

This commit is contained in:
Camilla Berglund 2016-03-18 12:08:43 +01:00
parent 17bcefeac1
commit 728a088cd7

View File

@ -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