summaryrefslogtreecommitdiff
path: root/src/mesh/mesh.c
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-28 22:29:38 -0500
committersanine-a <sanine.not@pm.me>2020-10-28 22:29:38 -0500
commita9f0521984f43f3048d3e0fec15082916e7f8331 (patch)
tree298921a1bb16dca39664f460c60cb78b368b64c8 /src/mesh/mesh.c
parentc6790ae7b77e32af33ab290ff6b645536b69210e (diff)
fix bug in model loading
Diffstat (limited to 'src/mesh/mesh.c')
-rw-r--r--src/mesh/mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/mesh.c b/src/mesh/mesh.c
index ab3e92c..2f3b330 100644
--- a/src/mesh/mesh.c
+++ b/src/mesh/mesh.c
@@ -150,7 +150,7 @@ int honey_mesh_load(lua_State* L)
lua_createtable(L, 0, 0);
- process_nodes_recursively(L, scene, scene->mRootNode, n_meshes);
+ process_nodes_recursively(L, scene, scene->mRootNode, &n_meshes);
return 1;
}