diff options
author | sanine-a <sanine.not@pm.me> | 2020-12-15 20:23:47 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-12-15 20:23:47 -0600 |
commit | ecfd781f73e0ef78b4d6f8bd82b17a0348ce735a (patch) | |
tree | a64e6f80d03560b4161952bfd54b60b344eba555 /demo | |
parent | 6cfe3b1e982d0cceb59b846bfaf11ecb0533f83e (diff) |
refactor textures and allow parameter setting
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() |