summaryrefslogtreecommitdiffstats
path: root/src/wgl/wglinfo.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-05-21 18:05:52 -0600
committerBrian Paul <brianp@vmware.com>2013-05-21 18:05:59 -0600
commitd7e262c368add19c5b442ed05014e36cac31c89f (patch)
treee8f6f6b942547c00af1a050a07e842d1cdf94f69 /src/wgl/wglinfo.c
parent98dfb466393069420f541fa781efb032dfd33cf2 (diff)
downloadmesa-demos-d7e262c368add19c5b442ed05014e36cac31c89f.zip
mesa-demos-d7e262c368add19c5b442ed05014e36cac31c89f.tar.xz
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.
Diffstat (limited to 'src/wgl/wglinfo.c')
-rw-r--r--src/wgl/wglinfo.c4
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,