bjorn hace 5 meses
padre
commit
dae046bb14
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 1 1
      api/init.lua
  2. 2 1
      api/lovr/system/pollEvents.lua

+ 1 - 1
api/init.lua

@@ -44626,7 +44626,7 @@ return {
           name = "pollEvents",
           tag = "system-window",
           summary = "Poll the OS for new window events.",
-          description = "Fills the event queue with unprocessed events from the operating system.  This function should be called often, otherwise the operating system will consider the application unresponsive. This function is called in the default implementation of `lovr.run`.",
+          description = "Fills the event queue with unprocessed events from the operating system.  This function should be called often, otherwise the operating system will consider the application unresponsive. This function is called in the default implementation of `lovr.run`, and the events are later processed by `lovr.event.poll`.",
           key = "lovr.system.pollEvents",
           module = "lovr.system",
           related = {

+ 2 - 1
api/lovr/system/pollEvents.lua

@@ -4,7 +4,8 @@ return {
   description = [[
     Fills the event queue with unprocessed events from the operating system.  This function should
     be called often, otherwise the operating system will consider the application unresponsive.
-    This function is called in the default implementation of `lovr.run`.
+    This function is called in the default implementation of `lovr.run`, and the events are later
+    processed by `lovr.event.poll`.
   ]],
   arguments = {},
   returns = {},