projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a6fa2
)
delete display lists upon exit
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 9 Aug 2005 15:14:51 +0000
(15:14 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 9 Aug 2005 15:14:51 +0000
(15:14 +0000)
progs/xdemos/glxgears.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/glxgears.c
b/progs/xdemos/glxgears.c
index cf9fcedaa24d0d3ce9f16a910380cd4f1400a497..00b05dc9807ed80fdfcc5d21f9117c83e54e6b67 100644
(file)
--- 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);