mirror of https://github.com/bjornbytes/lovr.git
Use lovr.system.pollEvents in lovr.errhand;
This commit is contained in:
parent
211c29e8c2
commit
264bfdeadf
|
@ -180,7 +180,7 @@ function lovr.errhand(message)
|
||||||
end
|
end
|
||||||
|
|
||||||
return function()
|
return function()
|
||||||
lovr.event.pump()
|
lovr.system.pollEvents()
|
||||||
|
|
||||||
for name, a in lovr.event.poll() do
|
for name, a in lovr.event.poll() do
|
||||||
if name == 'quit' then return a or 1
|
if name == 'quit' then return a or 1
|
||||||
|
|
Loading…
Reference in New Issue