diff options
Diffstat (limited to 'src/scripting/bindings')
-rw-r--r-- | src/scripting/bindings/viewport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripting/bindings/viewport.c b/src/scripting/bindings/viewport.c index 2f3c03d..8fcc041 100644 --- a/src/scripting/bindings/viewport.c +++ b/src/scripting/bindings/viewport.c @@ -24,13 +24,13 @@ static struct ffi_namespace *ns; static void -binding_set_size(void) +binding_set_size(struct ffi_function *fn) { Uint16 width; Uint16 height; - width = ffi_stack_get_int(); - height = ffi_stack_get_int(); + width = ffi_stack_get_int(fn); + height = ffi_stack_get_int(fn); init_viewport(width, height, 8); } |