mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
fix: remove usage of setNewFont on error handler
This commit is contained in:
@@ -232,7 +232,8 @@ function love.errhand(msg)
|
|||||||
if love.audio then love.audio.stop() end
|
if love.audio then love.audio.stop() end
|
||||||
|
|
||||||
love.graphics.reset()
|
love.graphics.reset()
|
||||||
local font = love.graphics.setNewFont(14)
|
local font = love.graphics.newFont(14)
|
||||||
|
love.graphics.setFont(font)
|
||||||
|
|
||||||
love.graphics.setColor(1, 1, 1)
|
love.graphics.setColor(1, 1, 1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user