projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92eac1c
)
fix glxinfo to query current display.
author
Alan Hourihane
<alanh@tungstengraphics.com>
Mon, 19 Mar 2001 13:58:45 +0000
(13:58 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Mon, 19 Mar 2001 13:58:45 +0000
(13:58 +0000)
progs/xdemos/glxinfo.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/glxinfo.c
b/progs/xdemos/glxinfo.c
index b2b06f144f496cf0090f7372b65db9677659ddff..cfc3bc4a1aab1d380014d98edf67e1cd0ffc69eb 100644
(file)
--- a/
progs/xdemos/glxinfo.c
+++ b/
progs/xdemos/glxinfo.c
@@
-1,4
+1,4
@@
-/* $Id: glxinfo.c,v 1.1
0 2000/05/08 14:53:57 brianp
Exp $ */
+/* $Id: glxinfo.c,v 1.1
1 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;