summaryrefslogtreecommitdiff
path: root/src/glm_mat4_bindings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glm_mat4_bindings.c')
-rw-r--r--src/glm_mat4_bindings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glm_mat4_bindings.c b/src/glm_mat4_bindings.c
index 8320dcb..f27130b 100644
--- a/src/glm_mat4_bindings.c
+++ b/src/glm_mat4_bindings.c
@@ -57,7 +57,7 @@ int honey_glm_mat4_mul(lua_State* L)
int choice = honey_lua_parse_arguments
(L, 2,
2, HONEY_USERDATA, &self, HONEY_USERDATA, &mult,
- 4, HONEY_USERDATA, &self, HONEY_USERDATA, &mult, HONEY_USERDATA, &dest);
+ 3, HONEY_USERDATA, &self, HONEY_USERDATA, &mult, HONEY_USERDATA, &dest);
if (mult->type != MAT4)
honey_lua_throw_error