draw debug text outside of camera
This commit is contained in:
parent
429f8ef813
commit
9d06b5d50e
2 changed files with 1 additions and 1 deletions
|
|
@ -33,6 +33,7 @@ function Room:draw()
|
|||
camera:attach(0, 0, gw, gh)
|
||||
self:canvasDraw()
|
||||
camera:detach()
|
||||
if DEBUG then love.graphics.print('DEBUG', 2, 2) end
|
||||
love.graphics.setCanvas()
|
||||
|
||||
love.graphics.setColor(255, 255, 255, 255)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ end
|
|||
|
||||
function Stage:canvasDraw()
|
||||
Stage.super.canvasDraw(self)
|
||||
if DEBUG then love.graphics.print('DEBUG', 2, 2) end
|
||||
end
|
||||
|
||||
return Stage
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue