summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/glxinfo.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-20 15:06:56 -0800
committerVinson Lee <[email protected]>2009-11-20 15:06:56 -0800
commita4720a1a3206dd2edecf47a21fce547a79b67610 (patch)
tree97ca3ba29b478b5efcde0b25177dbc457d539205 /progs/xdemos/glxinfo.c
parent66a4ec14c38d407256545e0cf31c98974d621fe4 (diff)
progs/xdemos: Remove duplicate code in glxinfo.c.
Diffstat (limited to 'progs/xdemos/glxinfo.c')
-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) {