diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2001-03-19 13:58:45 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2001-03-19 13:58:45 +0000 |
commit | e18599a6c3219716b381c18b5e43f05172bff5f6 (patch) | |
tree | 00d6031f70470a6897387c48f67cc1104939e3a1 /progs | |
parent | 92eac1c76517b1df8183749a0d056ab0618c3f25 (diff) |
fix glxinfo to query current display.
Diffstat (limited to 'progs')
-rw-r--r-- | progs/xdemos/glxinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index b2b06f144f..cfc3bc4a1a 100644 --- a/progs/xdemos/glxinfo.c +++ b/progs/xdemos/glxinfo.c @@ -1,4 +1,4 @@ -/* $Id: glxinfo.c,v 1.10 2000/05/08 14:53:57 brianp Exp $ */ +/* $Id: glxinfo.c,v 1.11 2001/03/19 13:58:45 alanh Exp $ */ /* * Copyright (C) 1999 Brian Paul All Rights Reserved. @@ -492,7 +492,7 @@ print_visual_info(Display *dpy, int scrnum, InfoMode mode) int main(int argc, char *argv[]) { - char *displayName = ":0"; + char *displayName = NULL; Display *dpy; int numScreens, scrnum; InfoMode mode = Normal; |