summaryrefslogtreecommitdiff
path: root/honey/ecs/render.lua
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2023-05-09 14:46:08 -0500
committersanine-a <sanine.not@pm.me>2023-05-09 14:46:08 -0500
commit9c9690ab5e4ecb484ee130c21f1767785908bd10 (patch)
tree847d7868a25936b1e632caac2b581b2c90d0eee0 /honey/ecs/render.lua
parentfe6564d8c31662d4d2c2606c62ba6d4416c6b6a6 (diff)
fix texture loading
Diffstat (limited to 'honey/ecs/render.lua')
-rw-r--r--honey/ecs/render.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/honey/ecs/render.lua b/honey/ecs/render.lua
index 4217422..abeac04 100644
--- a/honey/ecs/render.lua
+++ b/honey/ecs/render.lua
@@ -72,7 +72,7 @@ system = function(params)
)
-- get mesh
local mesh = honey.mesh.loadCached(
- tbl.mesh.filename, tbl.mesh.index
+ tbl.mesh.filename, tbl.mesh.index, tbl.mesh.debug
)
draw(model, view, projection, tbl.textures, shader, mesh)
end