projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7324c22
)
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, 4 Dec 2009 07:59:47 +0000
(23:59 -0800)
(cherry picked from commit
a4720a1a3206dd2edecf47a21fce547a79b67610
)
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);