projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2223615
)
trivial: destroy window upon exit
author
Brian Paul
<brianp@vmware.com>
Mon, 11 May 2009 22:08:01 +0000
(16:08 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 11 May 2009 22:08:01 +0000
(16:08 -0600)
progs/trivial/tri.c
patch
|
blob
|
history
diff --git
a/progs/trivial/tri.c
b/progs/trivial/tri.c
index d44cb6a9fe312e146b54924468c9b818873d98c1..cac3fcb7d9c5d2042a7488807135f51d9b80d6b7 100644
(file)
--- a/
progs/trivial/tri.c
+++ b/
progs/trivial/tri.c
@@
-60,6
+60,7
@@
static void Key(unsigned char key, int x, int y)
{
switch (key) {
case 27:
+ glutDestroyWindow(win);
exit(0);
default:
glutPostRedisplay();