summaryrefslogtreecommitdiffstats
path: root/progs/xdemos
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2001-03-19 13:58:45 +0000
committerAlan Hourihane <[email protected]>2001-03-19 13:58:45 +0000
commite18599a6c3219716b381c18b5e43f05172bff5f6 (patch)
tree00d6031f70470a6897387c48f67cc1104939e3a1 /progs/xdemos
parent92eac1c76517b1df8183749a0d056ab0618c3f25 (diff)
fix glxinfo to query current display.
Diffstat (limited to 'progs/xdemos')
-rw-r--r--progs/xdemos/glxinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c
index b2b06f144f4..cfc3bc4a1aa 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;