istereo

changeset 31:3d933b796ad2

added datafie pull
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 08 Sep 2011 15:06:40 +0300
parents 8dd271942543
children bc6db80aaa58
files src/glutmain.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/src/glutmain.c	Thu Sep 08 14:52:13 2011 +0300
     1.2 +++ b/src/glutmain.c	Thu Sep 08 15:06:40 2011 +0300
     1.3 @@ -39,6 +39,7 @@
     1.4  }
     1.5  
     1.6  extern int stereo;
     1.7 +extern int use_bump;
     1.8  
     1.9  void keyb(unsigned char key, int x, int y)
    1.10  {
    1.11 @@ -50,6 +51,10 @@
    1.12  		stereo = !stereo;
    1.13  		break;
    1.14  
    1.15 +	case 'b':
    1.16 +		use_bump = !use_bump;
    1.17 +		break;
    1.18 +
    1.19  	case '`':
    1.20  		{
    1.21  			int xsz = glutGet(GLUT_WINDOW_WIDTH);