fix crash in error handler when running out of vectors

This commit is contained in:
Nevyn Bengtsson 2020-11-18 21:37:31 +01:00
parent ca04882093
commit 220aa70d7c
1 changed files with 3 additions and 0 deletions

View File

@ -277,6 +277,9 @@ function lovr.errhand(message, traceback)
render()
end
lovr.graphics.present()
if lovr.math then
lovr.math.drain()
end
end
end