aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorCNLohr <charles@cnlohr.com>2018-03-18 22:01:56 -0400
committerGitHub <noreply@github.com>2018-03-18 22:01:56 -0400
commit7a3bd58da56f2072a059cfb147ee23616924b832 (patch)
tree578b865dc5037d5dbaa074458d7c0b542550e914 /test.c
parentd4466fa46e88d9d146ae3116004f74c9beda50f7 (diff)
parent0996cfcee351bfd665f48a205d2f7fe37dec336c (diff)
downloadlibsurvive-7a3bd58da56f2072a059cfb147ee23616924b832.tar.gz
libsurvive-7a3bd58da56f2072a059cfb147ee23616924b832.tar.bz2
Merge pull request #115 from cnlohr/charles_statbiguator
Charles statbiguator
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);