delete display lists upon exit

This commit is contained in:
Brian Paul 2005-08-09 15:14:51 +00:00
parent a1a6fa2fa1
commit e78a3c42e4
1 changed files with 3 additions and 0 deletions

View File

@ -590,6 +590,9 @@ main(int argc, char *argv[])
event_loop(dpy, win);
glDeleteLists(gear1, 1);
glDeleteLists(gear2, 1);
glDeleteLists(gear3, 1);
glXDestroyContext(dpy, ctx);
XDestroyWindow(dpy, win);
XCloseDisplay(dpy);