istereo

diff src/glutmain.c @ 31:3d933b796ad2

added datafie pull
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 08 Sep 2011 15:06:40 +0300
parents 70309d71c899
children e60f9d8af28d
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);