summaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh')
-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;
}