summaryrefslogtreecommitdiff
path: root/progs/demos/tessdemo.c
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2001-03-21 02:44:36 +0000
committerGareth Hughes <gareth@valinux.com>2001-03-21 02:44:36 +0000
commitf5328c534d6f2c296b95d2cad5da16434d270dfd (patch)
tree62f326371cdc57ed404023502985aa2270cc4d10 /progs/demos/tessdemo.c
parent16cdc6ab12f440b32cc5769f375576dd1bb17706 (diff)
Make ESC quit.
Diffstat (limited to 'progs/demos/tessdemo.c')
-rw-r--r--progs/demos/tessdemo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/demos/tessdemo.c b/progs/demos/tessdemo.c
index 3648ebd084..99f5006d60 100644
--- a/progs/demos/tessdemo.c
+++ b/progs/demos/tessdemo.c
@@ -1,4 +1,4 @@
-/* $Id: tessdemo.c,v 1.9 2001/03/21 02:43:14 gareth Exp $ */
+/* $Id: tessdemo.c,v 1.10 2001/03/21 02:44:36 gareth Exp $ */
/*
* A demo of the GLU polygon tesselation functions written by Bogdan Sikorski.
@@ -433,6 +433,7 @@ static void key_pressed( unsigned char key, int x, int y )
case 'T':
tesse();
break;
+ case 27:
case 'q':
case 'Q':
quit();