Re-added love.graphics.getWidth/getHeight

This commit is contained in:
Alex Szpakowski
2013-05-28 20:23:31 -03:00
parent 252aa114a7
commit 6a76e082e4
5 changed files with 32 additions and 7 deletions
+2 -2
View File
@@ -775,7 +775,7 @@ function love.errhand(msg)
local function draw()
love.graphics.clear()
love.graphics.printf(p, 70, 70, love.window.getWidth() - 70)
love.graphics.printf(p, 70, 70, love.graphics.getWidth() - 70)
love.graphics.present()
end
@@ -826,7 +826,7 @@ function love.releaseerrhand(msg)
local function draw()
love.graphics.clear()
love.graphics.printf(p, 70, 70, love.window.getWidth() - 70)
love.graphics.printf(p, 70, 70, love.graphics.getWidth() - 70)
love.graphics.present()
end