From: Brian Paul Date: Tue, 9 Aug 2005 15:14:51 +0000 (+0000) Subject: delete display lists upon exit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e78a3c42e4ab40113ad9a69c2dc4e2294c2f7894;p=mesa.git delete display lists upon exit --- diff --git a/progs/xdemos/glxgears.c b/progs/xdemos/glxgears.c index cf9fcedaa24..00b05dc9807 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);