minor updates to sync with XFree86
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 6 Sep 2002 03:47:34 +0000 (03:47 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 6 Sep 2002 03:47:34 +0000 (03:47 +0000)
progs/xdemos/glxinfo.c

index 32866ca1fcad51c47e795f28534cb4bcfb3e21f0..799b0c1e1e0b9c72a29d6eb4a83dbef6b8efbb5a 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: glxinfo.c,v 1.17 2002/09/06 03:35:43 brianp Exp $ */
+/* $Id: glxinfo.c,v 1.18 2002/09/06 03:47:34 brianp Exp $ */
 
 /*
  * Copyright (C) 1999-2002  Brian Paul   All Rights Reserved.
@@ -29,6 +29,7 @@
  *  -v                     print verbose information
  *  -display DisplayName   specify the X display to interogate
  *  -b                     only print ID of "best" visual on screen 0
+ *  -i                     use indirect rendering connection only
  *  -l                     print interesting OpenGL limits (added 5 Sep 2002)
  *
  * Brian Paul  26 January 2000
@@ -473,6 +474,8 @@ print_visual_attribs_short(const struct visual_attribs *attribs)
       caveat = "Slow";
    else if (attribs->visualCaveat == GLX_NON_CONFORMANT_VISUAL_EXT)
       caveat = "Ncon";
+   else
+      caveat = "None";
 #else
    caveat = "None";
 #endif