[Mesa-dev] [PATCH 5/5] wglinfo: adjust column spacing for pixel format info
Brian Paul
brianp at vmware.com
Tue Jul 15 07:39:48 PDT 2014
---
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,
--
1.7.10.4
More information about the mesa-dev
mailing list