diff options
author | Kristian Høgsberg <[email protected]> | 2007-10-17 10:14:55 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2007-10-17 10:15:10 -0400 |
commit | 87966baa8d15ff58cd63da23627a4285bb7fb7e7 (patch) | |
tree | 92113ac3005f64d9e24a696875d72eda7edb95d1 /progs/xdemos | |
parent | 6c533ea2d1953152f7d95d6c984e0d287edb46c2 (diff) |
Fixup a couple of thinkos in glxinfo changes.
Diffstat (limited to 'progs/xdemos')
-rw-r--r-- | progs/xdemos/glxinfo.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index a6bfaa2520b..dfad1d39195 100644 --- a/progs/xdemos/glxinfo.c +++ b/progs/xdemos/glxinfo.c @@ -682,9 +682,6 @@ get_fbconfig_attribs(Display *dpy, GLXFBConfig fbconfig, glXGetFBConfigAttrib(dpy, fbconfig, GLX_FBCONFIG_ID, &attribs->id); - /* FIXME: convert from GL enum to visual class. */ - glXGetFBConfigAttrib(dpy, fbconfig, GLX_X_VISUAL_TYPE, &attribs->klass); - #if 0 attribs->depth = vInfo->depth; attribs->redMask = vInfo->red_mask; @@ -1122,10 +1119,10 @@ main(int argc, char *argv[]) mesa_hack(dpy, scrnum); print_screen_info(dpy, scrnum, allowDirect, limits); printf("\n"); -#ifdef GLX_VERSION_1_3 print_visual_info(dpy, scrnum, mode); -#endif +#ifdef GLX_VERSION_1_3 print_fbconfig_info(dpy, scrnum, mode); +#endif if (scrnum + 1 < numScreens) printf("\n\n"); } |