From: Brian Paul Date: Wed, 9 Jul 2008 21:52:04 +0000 (-0600) Subject: mesa: call glutDestroyWindow() on exit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=547e487df2a25dc92dc303cb59ed460e2d95a913;p=mesa.git mesa: call glutDestroyWindow() on exit --- 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;