progs/xdemos: Remove duplicate code in glxinfo.c.
authorVinson Lee <vlee@vmware.com>
Fri, 20 Nov 2009 23:06:56 +0000 (15:06 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 4 Dec 2009 07:59:47 +0000 (23:59 -0800)
(cherry picked from commit a4720a1a3206dd2edecf47a21fce547a79b67610)

progs/xdemos/glxinfo.c

index c1a032872cd0c6dee5ad45dc62b199689ba63863..b182a3091d15683ed95a88024e5539eae3a7274c 100644 (file)
@@ -426,8 +426,6 @@ print_screen_info(Display *dpy, int scrnum, Bool allowDirect, GLboolean limits)
       GLXFBConfig *configs = NULL;
       int nConfigs;
 
-      if (!visinfo)
-        configs = glXChooseFBConfig(dpy, scrnum, fbAttribSingle, &nConfigs);
       if (!visinfo)
         configs = glXChooseFBConfig(dpy, scrnum, fbAttribDouble, &nConfigs);