aboutsummaryrefslogtreecommitdiff
path: root/simple_pose_test.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2018-03-18 02:45:09 -0400
committercnlohr <lohr85@gmail.com>2018-03-18 22:21:59 -0400
commit179d8a02e231fe853831cdf886c9196929303adb (patch)
tree7de8df2fc9ef4d167398caebffe906985ed0cb54 /simple_pose_test.c
parentd21999e85f29edae7de8abdfb293da870e7fad47 (diff)
downloadlibsurvive-179d8a02e231fe853831cdf886c9196929303adb.tar.gz
libsurvive-179d8a02e231fe853831cdf886c9196929303adb.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 'simple_pose_test.c')
-rw-r--r--simple_pose_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/simple_pose_test.c b/simple_pose_test.c
index b39c932..91d80d7 100644
--- a/simple_pose_test.c
+++ b/simple_pose_test.c
@@ -152,12 +152,12 @@ void *GUIThread(void*v)
}
-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);