Browse Source

mesa: call glutDestroyWindow() on exit

tags/mesa_20090313
Brian Paul 17 years ago
parent
commit
547e487df2
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      progs/demos/tunnel2.c

+ 2
- 0
progs/demos/tunnel2.c 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;


Loading…
Cancel
Save