pixelgl: clarify UpdateInput docs
@@ -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() {
mainthread.Call(func() {
glfw.PollEvents()
