Fixed TrueTypeFont incorrectly handling display mode changes.

This commit is contained in:
rude
2009-08-18 19:00:21 +02:00
parent d58182c4c2
commit d7d3766cea
3 changed files with 18 additions and 21 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ freely, subject to the following restrictions:
love.graphics.print = function (...)
if not love.graphics.getFont() then
love.graphics.setFont(love._vera, 12)
love.graphics.setFont(love._vera_ttf, 12)
end
love.graphics.print1(...)
love.graphics.print = love.graphics.print1
@@ -28,7 +28,7 @@ end
love.graphics.printf = function (...)
if not love.graphics.getFont() then
love.graphics.setFont(love._vera, 12)
love.graphics.setFont(love._vera_ttf, 12)
end
love.graphics.printf1(...)
love.graphics.printf = love.graphics.printf1