This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
trivial: destroy window upon exit
tags/mesa_7_5_rc2
Brian Paul
16 years ago
parent
2223615e0a
commit
f5cf181c65
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
progs/trivial/tri.c
+ 1
- 0
progs/trivial/tri.c
View File
@@ -60,6 +60,7 @@ static void Key(unsigned char key, int x, int y)
{
switch (key) {
case 27:
glutDestroyWindow(win);
exit(0);
default:
glutPostRedisplay();
Write
Preview
Loading…
Cancel
Save