progs/trivial: Redraw upon keypress.

(cherry picked from commit 9553a42f63)
This commit is contained in:
Vinson Lee 2009-11-19 22:52:05 -08:00
parent 34a0b22a74
commit 56de7e222e
4 changed files with 4 additions and 4 deletions

View file

@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
return;
break;
}
glutPostRedisplay();

View file

@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
return;
break;
}
glutPostRedisplay();

View file

@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
return;
break;
}
glutPostRedisplay();

View file

@ -62,7 +62,7 @@ static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
return;
break;
}
glutPostRedisplay();