diff options
Diffstat (limited to 'demo')
-rw-r--r-- | demo/main.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/demo/main.lua b/demo/main.lua index 6aa5775..b956d04 100644 --- a/demo/main.lua +++ b/demo/main.lua @@ -11,8 +11,7 @@ honey.input.key.bind(honey.input.key.escape, honey.exit) local buffer = false honey.input.key.bind(honey.input.key.f, function(action) if action == 1 then buffer = not buffer end end) -local tex = honey.texture.new() -tex:load('checkerboard.png', false) +local tex = honey.texture.load('checkerboard.png') local sceneRoot = Node.new() |