Mesa (mesa_7_6_branch): progs/xdemos: Remove duplicate code in glxinfo.c.

Vinson Lee vlee at kemper.freedesktop.org
Thu Dec 3 23:59:56 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 83506484010d38dd6d3e17aa4e0d06dc8467992f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83506484010d38dd6d3e17aa4e0d06dc8467992f

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Nov 20 15:06:56 2009 -0800

progs/xdemos: Remove duplicate code in glxinfo.c.
(cherry picked from commit a4720a1a3206dd2edecf47a21fce547a79b67610)

---

 progs/xdemos/glxinfo.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c
index c1a0328..b182a30 100644
--- a/progs/xdemos/glxinfo.c
+++ b/progs/xdemos/glxinfo.c
@@ -427,8 +427,6 @@ print_screen_info(Display *dpy, int scrnum, Bool allowDirect, GLboolean limits)
       int nConfigs;
 
       if (!visinfo)
-	 configs = glXChooseFBConfig(dpy, scrnum, fbAttribSingle, &nConfigs);
-      if (!visinfo)
 	 configs = glXChooseFBConfig(dpy, scrnum, fbAttribDouble, &nConfigs);
 
       if (configs) {



More information about the mesa-commit mailing list