diff options
author | sanine-a <sanine.not@pm.me> | 2020-12-05 16:59:28 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-12-05 16:59:28 -0600 |
commit | 09a96abe4d6933eb473b0dd8a7027cc0cb04ac63 (patch) | |
tree | fd60e3080694689f336351cab4bb269a21869606 /demo/main.lua | |
parent | bbebc8d2582f639ecac1c4551411949eeacfc7ee (diff) |
change textures to use metamethods
Diffstat (limited to 'demo/main.lua')
-rw-r--r-- | demo/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/main.lua b/demo/main.lua index 231af10..5b19166 100644 --- a/demo/main.lua +++ b/demo/main.lua @@ -11,7 +11,7 @@ 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() -honey.texture.load(tex, 'checkerboard.png', false) +tex:load('checkerboard.png', false) local sceneRoot = Node.new() |