summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2008-09-13 14:22:15 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-09-13 14:22:15 -0600
commit5d4c8ec5e04eb15969dac1abb9ea3a254eb98d44 (patch)
tree910977554821f18b3dc041d24508d4b81c860815 /progs
parentee2c8d6d3e3df674f14e9d58947bd6b5e70a6f74 (diff)
downloadexternal_mesa3d-5d4c8ec5e04eb15969dac1abb9ea3a254eb98d44.zip
external_mesa3d-5d4c8ec5e04eb15969dac1abb9ea3a254eb98d44.tar.gz
external_mesa3d-5d4c8ec5e04eb15969dac1abb9ea3a254eb98d44.tar.bz2
remove invalid XDestroyWindow() call
Diffstat (limited to 'progs')
-rw-r--r--progs/xdemos/glxinfo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c
index 6cf127a..445d3ea 100644
--- a/progs/xdemos/glxinfo.c
+++ b/progs/xdemos/glxinfo.c
@@ -447,7 +447,6 @@ print_screen_info(Display *dpy, int scrnum, Bool allowDirect, GLboolean limits)
if (!ctx) {
fprintf(stderr, "Error: glXCreateContext failed\n");
XFree(visinfo);
- XDestroyWindow(dpy, win);
return;
}