diff options
author | Brian Paul <[email protected]> | 2008-07-09 15:52:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-09 15:52:04 -0600 |
commit | 547e487df2a25dc92dc303cb59ed460e2d95a913 (patch) | |
tree | 177d78dffc10514a5e1582dc9ec7527835c7dce0 /progs/demos | |
parent | eb9efc6ad5544b8c643f81c03fcc09438aa0316c (diff) |
mesa: call glutDestroyWindow() on exit
Diffstat (limited to 'progs/demos')
-rw-r--r-- | progs/demos/tunnel2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/demos/tunnel2.c b/progs/demos/tunnel2.c index 75a199af5d3..f4171a8346d 100644 --- a/progs/demos/tunnel2.c +++ b/progs/demos/tunnel2.c @@ -205,6 +205,8 @@ key(unsigned char k, int x, int y) { switch (k) { case 27: + glutDestroyWindow(channel[0]); + glutDestroyWindow(channel[1]); exit(0); break; |