From a9f0521984f43f3048d3e0fec15082916e7f8331 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Wed, 28 Oct 2020 22:29:38 -0500 Subject: fix bug in model loading --- src/mesh/mesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.1