summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2014-07-15 08:39:20 -0600
committerBrian Paul <brianp@vmware.com>2014-07-16 07:30:30 -0600
commitd45c9ffd8eb3b27c4d5aa91b41dcdf4c90337c32 (patch)
tree86f6a307a02b25559398852998a0c80305c71342 /src
parent2b8dc3f95d9cb9d59183172e7bf0bc16523aa4c3 (diff)
downloadmesa-demos-d45c9ffd8eb3b27c4d5aa91b41dcdf4c90337c32.zip
mesa-demos-d45c9ffd8eb3b27c4d5aa91b41dcdf4c90337c32.tar.xz
wglinfo: adjust column spacing for pixel format info
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src')
-rw-r--r--src/wgl/wglinfo.c8
1 files 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,