From e18599a6c3219716b381c18b5e43f05172bff5f6 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Mon, 19 Mar 2001 13:58:45 +0000 Subject: fix glxinfo to query current display. --- progs/xdemos/glxinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/xdemos') 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; -- cgit v1.2.3