From 9f1854ed3365eacec0b49017d619eb02ab0f52fb Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 6 Oct 2016 14:21:28 +0200 Subject: Fixed debug information displaying with wrong font --- main.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.lua b/main.lua index ab1c755..93d0408 100644 --- a/main.lua +++ b/main.lua @@ -67,6 +67,7 @@ function love.draw() Scene:draw() if debug then local scale = getScale() + love.graphics.setFont(Font) love.graphics.setColor(255, 0, 0, 255) love.graphics.print("Debug ON", 10, 10, 0, scale, scale) love.graphics.setColor(255, 255, 255, 255) @@ -96,6 +97,4 @@ end function Controller.controlreleased(set, action, key) -- pass to current Scene Scene:controlreleased(set, action, key) -end - - +end \ No newline at end of file -- cgit v1.1