# HG changeset patch # User John Tsiombikas # Date 1315483600 -10800 # Node ID 3d933b796ad2c42e9641aeea31dcf63debc89b4a # Parent 8dd2719425438ae6d4e07c7b2e40e5826ea7c1eb added datafie pull diff -r 8dd271942543 -r 3d933b796ad2 src/glutmain.c --- a/src/glutmain.c Thu Sep 08 14:52:13 2011 +0300 +++ b/src/glutmain.c Thu Sep 08 15:06:40 2011 +0300 @@ -39,6 +39,7 @@ } extern int stereo; +extern int use_bump; void keyb(unsigned char key, int x, int y) { @@ -50,6 +51,10 @@ stereo = !stereo; break; + case 'b': + use_bump = !use_bump; + break; + case '`': { int xsz = glutGet(GLUT_WINDOW_WIDTH);