aboutsummaryrefslogtreecommitdiff
path: root/simple_pose_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'simple_pose_test.c')
-rw-r--r--simple_pose_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/simple_pose_test.c b/simple_pose_test.c
index 34c15de..0772abb 100644
--- a/simple_pose_test.c
+++ b/simple_pose_test.c
@@ -158,6 +158,9 @@ int main( int argc, char ** argv )
double Start = OGGetAbsoluteTime();
ctx = survive_init( argc, argv );
+ if (ctx == 0) { // Implies --help or similiar
+ return -1;
+ }
//survive_install_button_fn(ctx, testprog_button_process);
survive_install_raw_pose_fn(ctx, testprog_raw_pose_process);