diff options
author | cnlohr <lohr85@gmail.com> | 2018-03-18 02:45:09 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2018-03-18 02:45:09 -0400 |
commit | 5aa20d099b9fe7539050a5baa4c70b678aeab64e (patch) | |
tree | 77a1d0658a46c5a1da9013d0d88af8430fb8ba53 /test.c | |
parent | a978c195a8b0cbf9ff1330ab8c6af1deb79a8b83 (diff) | |
download | libsurvive-5aa20d099b9fe7539050a5baa4c70b678aeab64e.tar.gz libsurvive-5aa20d099b9fe7539050a5baa4c70b678aeab64e.tar.bz2 |
Moving things over... still todo:
* Make functions for changing temp configs.
* Make functions for config_read_str but where it checks the temp one first.
* Parse command-line options.
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |