diff options
author | Brian Paul <brianp@vmware.com> | 2011-05-23 13:22:05 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-05-24 08:47:26 -0600 |
commit | 3dd34c1b0a418851b56175b50080c1dc46cd0a71 (patch) | |
tree | 58e84fcf179d67cfa3da7e6051ad6357b93e5b71 | |
parent | 37de67bbaa63770be2d50d20a6db01bab6a4ee99 (diff) |
glxinfo: minor whitespace fixes
-rw-r--r-- | src/xdemos/glxinfo.c | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c index 341c55ea..e86d8e81 100644 --- a/src/xdemos/glxinfo.c +++ b/src/xdemos/glxinfo.c @@ -603,12 +603,15 @@ print_screen_info(Display *dpy, int scrnum, Bool allowDirect, GLboolean limits, printf("direct rendering: "); if (glXIsDirect(dpy, ctx)) { printf("Yes\n"); - } else { + } + else { if (!allowDirect) { printf("No (-i specified)\n"); - } else if (getenv("LIBGL_ALWAYS_INDIRECT")) { + } + else if (getenv("LIBGL_ALWAYS_INDIRECT")) { printf("No (LIBGL_ALWAYS_INDIRECT set)\n"); - } else { + } + else { printf("No (If you want to find out why, try setting " "LIBGL_DEBUG=verbose)\n"); } @@ -971,11 +974,12 @@ print_visual_attribs_verbose(const struct visual_attribs *attribs, int fbconfigs) { if (fbconfigs) { - printf("FBConfig ID: %x Visual ID=%x depth=%d class=%s, type=%s\n", - attribs->id, attribs->vis_id, attribs->depth, - visual_class_name(attribs->klass), - visual_drawable_type(attribs->drawableType)); - } else { + printf("FBConfig ID: %x Visual ID=%x depth=%d class=%s, type=%s\n", + attribs->id, attribs->vis_id, attribs->depth, + visual_class_name(attribs->klass), + visual_drawable_type(attribs->drawableType)); + } + else { printf("Visual ID: %x depth=%d class=%s, type=%s\n", attribs->id, attribs->depth, visual_class_name(attribs->klass), visual_drawable_type(attribs->drawableType)); @@ -1333,7 +1337,7 @@ main(int argc, char *argv[]) usage(); return 0; } - else if(strcmp(argv[i], "-s") == 0) { + else if (strcmp(argv[i], "-s") == 0) { singleLine = True; } else { |