diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-08-09 15:14:51 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-08-09 15:14:51 +0000 |
commit | e78a3c42e4ab40113ad9a69c2dc4e2294c2f7894 (patch) | |
tree | 2e4b37fd9624a6af225c1ffc1e565b1a0ada34f2 | |
parent | a1a6fa2fa18c4982aa8151042df7d04551e47981 (diff) |
delete display lists upon exit
-rw-r--r-- | progs/xdemos/glxgears.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/xdemos/glxgears.c b/progs/xdemos/glxgears.c index cf9fcedaa2..00b05dc980 100644 --- a/progs/xdemos/glxgears.c +++ b/progs/xdemos/glxgears.c @@ -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); |