mesa: call glutDestroyWindow() on exit
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user