pixelgl: clarify UpdateInput docs

This commit is contained in:
mewmew 2018-01-04 19:23:53 +01:00
parent 6c69d9b06b
commit 98be0b43c8
1 changed files with 2 additions and 1 deletions

View File

@ -372,7 +372,8 @@ func (w *Window) initInput() {
}) })
} }
// UpdateInput polls window events. // UpdateInput polls window events. Call this function to poll window events
// without swapping buffers. Note that the Update method invokes UpdateInput.
func (w *Window) UpdateInput() { func (w *Window) UpdateInput() {
mainthread.Call(func() { mainthread.Call(func() {
glfw.PollEvents() glfw.PollEvents()