projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a4ec1
)
progs/xdemos: Remove duplicate code in glxinfo.c.
author
Vinson Lee
<vlee@vmware.com>
Fri, 20 Nov 2009 23:06:56 +0000
(15:06 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 20 Nov 2009 23:06:56 +0000
(15:06 -0800)
progs/xdemos/glxinfo.c
patch
|
blob
|
history
diff --git
a/progs/xdemos/glxinfo.c
b/progs/xdemos/glxinfo.c
index c1a032872cd0c6dee5ad45dc62b199689ba63863..b182a3091d15683ed95a88024e5539eae3a7274c 100644
(file)
--- a/
progs/xdemos/glxinfo.c
+++ b/
progs/xdemos/glxinfo.c
@@
-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);