delete display lists upon exit
This commit is contained in:
parent
a1a6fa2fa1
commit
e78a3c42e4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue