summaryrefslogtreecommitdiff
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
parentee2c8d6d3e3df674f14e9d58947bd6b5e70a6f74 (diff)
remove invalid XDestroyWindow() call
-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 6cf127afa2f..445d3ea94b6 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;
}