aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.c b/test.c
index 4c6bcf3..8c697c1 100644
--- a/test.c
+++ b/test.c
@@ -136,12 +136,12 @@ static void dump_iface( struct SurviveObject * so, const char * prefix )
-int main()
+int main( int argc, char ** argv )
{
int magicon = 0;
double Start = OGGetAbsoluteTime();
- ctx = survive_init( 0 );
+ ctx = survive_init( argc, argv );
survive_install_button_fn(ctx, testprog_button_process);
survive_install_raw_pose_fn(ctx, testprog_raw_pose_process);