diff options
Diffstat (limited to 'bin/main.lua')
-rw-r--r-- | bin/main.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bin/main.lua b/bin/main.lua index 6f221ac..69c6608 100644 --- a/bin/main.lua +++ b/bin/main.lua @@ -6,10 +6,10 @@ local page local tf function jin.core.onLoad() shader = jin.graphics.newShaderf("font.shader") - local bitmap = jin.graphics.newBitmap("defaultfont.png") - local tfdata = jin.graphics.newTTFData("font.ttf") - tf = tfdata:newTTF(13) - page = tf:typeset("this is a test") + -- local bitmap = jin.graphics.newBitmap("defaultfont.png") + -- local tfdata = jin.graphics.newTTFData("font.ttf") + -- tf = tfdata:newTTF(13) + -- page = tf:typeset("this is a test") end function jin.core.onEvent(e) @@ -32,7 +32,5 @@ function jin.core.onUpdate(dt) end function jin.core.onDraw() - jin.graphics.useShader(shader) jin.graphics.print(string.format("FPS: %d\nok this is another test", fps), 0, 0) - jin.graphics.unuseShader() end
\ No newline at end of file |