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, 20 Nov 2009 23:06:56 +0000 (15:06 -0800)
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);