mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Re-added love.graphics.getWidth/getHeight
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user