mesa: call glutDestroyWindow() on exit

This commit is contained in:
Brian Paul 2008-07-09 15:52:04 -06:00
parent eb9efc6ad5
commit 547e487df2

View file

@ -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;