Module: Demos Branch: master Commit: d45c9ffd8eb3b27c4d5aa91b41dcdf4c90337c32 URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=d45c9ffd8eb3b27c4d5aa91b41dcdf4c90337c32
Author: Brian Paul <[email protected]> Date: Tue Jul 15 08:39:20 2014 -0600 wglinfo: adjust column spacing for pixel format info Reviewed-by: José Fonseca <[email protected]> --- src/wgl/wglinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wgl/wglinfo.c b/src/wgl/wglinfo.c index 22d8d64..f628768 100644 --- a/src/wgl/wglinfo.c +++ b/src/wgl/wglinfo.c @@ -347,9 +347,9 @@ print_visual_attribs_verbose(int iPixelFormat, const struct format_info *info) static void print_visual_attribs_short_header(void) { - printf(" visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav\n"); - printf(" id gen win sp sz l ci b ro r g b a bf th cl r g b a ns b eat\n"); - printf("-----------------------------------------------------------------------\n"); + printf(" visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav\n"); + printf(" id gen win sp sz l ci b ro r g b a bf th cl r g b a ns b eat\n"); + printf("------------------------------------------------------------------------\n"); } @@ -358,7 +358,7 @@ print_visual_attribs_short(int iPixelFormat, const struct format_info *info) { char *caveat = "None"; - printf("0x%02x %2d %2d %2d %2d %2d %c%c %c %c %2d %2d %2d %2d %2d %2d %2d", + printf("0x%02x %2d %2d %2d %3d %2d %c%c %c %c %2d %2d %2d %2d %2d %2d %2d", iPixelFormat, info->pfd.dwFlags & PFD_GENERIC_FORMAT ? 1 : 0, info->pfd.dwFlags & PFD_DRAW_TO_WINDOW ? 1 : 0, _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
