clray

changeset 46:b5eb404af481

- added -d switch to start in OpenGL rendering mode
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 29 Aug 2010 14:02:37 +0100
parents 8047637961a2
children 30bf84881553
files src/clray.cc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/src/clray.cc	Sun Aug 29 04:20:42 2010 +0100
     1.2 +++ b/src/clray.cc	Sun Aug 29 14:02:37 2010 +0100
     1.3 @@ -71,6 +71,10 @@
     1.4  				set_accel_param(ACCEL_PARAM_MAX_NODE_ITEMS, atoi(argv[i]));
     1.5  				break;
     1.6  
     1.7 +			case 'd':
     1.8 +				dbg_glrender = true;
     1.9 +				break;
    1.10 +
    1.11  			default:
    1.12  				fprintf(stderr, "unrecognized option: %s\n", argv[i]);
    1.13  				return 1;