mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 03:28:09 +02:00
mesa: call glutDestroyWindow() on exit
This commit is contained in:
parent
eb9efc6ad5
commit
547e487df2
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue