Demos (master): wglinfo: tweak column heading and spacing
Brian Paul
brianp at kemper.freedesktop.org
Wed May 22 00:07:17 UTC 2013
Module: Demos
Branch: master
Commit: d7e262c368add19c5b442ed05014e36cac31c89f
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=d7e262c368add19c5b442ed05014e36cac31c89f
Author: Brian Paul <brianp at vmware.com>
Date: Tue May 21 18:05:52 2013 -0600
wglinfo: tweak column heading and spacing
Replace 'nat' with 'win' to indicate PFD_DRAW_TO_WINDOW.
Insert a space in output to line up with column headings.
---
src/wgl/wglinfo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wgl/wglinfo.c b/src/wgl/wglinfo.c
index 6a52cf3..31ee361 100644
--- a/src/wgl/wglinfo.c
+++ b/src/wgl/wglinfo.c
@@ -595,7 +595,7 @@ 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 nat sp sz l ci b ro r g b a bf th cl r g b a ns b eat\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");
}
@@ -605,7 +605,7 @@ print_visual_attribs_short(int iPixelFormat, LPPIXELFORMATDESCRIPTOR ppfd)
{
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 %2d %2d %c%c %c %c %2d %2d %2d %2d %2d %2d %2d",
iPixelFormat,
ppfd->dwFlags & PFD_GENERIC_FORMAT ? 1 : 0,
ppfd->dwFlags & PFD_DRAW_TO_WINDOW ? 1 : 0,
More information about the mesa-commit
mailing list