summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-20 15:06:56 -0800
committerVinson Lee <[email protected]>2009-12-03 23:59:47 -0800
commit83506484010d38dd6d3e17aa4e0d06dc8467992f (patch)
treeeec7047c76219084e44a02a37f1b1ab02a211f98 /progs
parent7324c22024297d1307f511ee320ebdfd47926228 (diff)
progs/xdemos: Remove duplicate code in glxinfo.c.
(cherry picked from commit a4720a1a3206dd2edecf47a21fce547a79b67610)
Diffstat (limited to 'progs')
-rw-r--r--progs/xdemos/glxinfo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c
index c1a032872cd..b182a3091d1 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) {