summaryrefslogtreecommitdiff
path: root/progs/wgl
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-04-10 18:43:51 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-04-10 19:50:35 +0100
commit6fc244c68d3b3a9f89b6f752725e6c768cb08a84 (patch)
tree73ba46fbdbf1edf80af5cb42c83a08cbf6452a63 /progs/wgl
parentaa405a2a77d51a4f807c5c2f63cbc76eb660e489 (diff)
wgl: Note down the gallium pixel formats, instead of re-guessing them.
Diffstat (limited to 'progs/wgl')
-rw-r--r--progs/wgl/wglinfo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/wgl/wglinfo.c b/progs/wgl/wglinfo.c
index 5cf0e8bb25..881d35b297 100644
--- a/progs/wgl/wglinfo.c
+++ b/progs/wgl/wglinfo.c
@@ -586,8 +586,8 @@ print_visual_info(HDC hdc, InfoMode mode)
if(!DescribePixelFormat(hdc, i, sizeof(PIXELFORMATDESCRIPTOR), &pfd))
continue;
- if(!(pfd.dwFlags & PFD_SUPPORT_OPENGL))
- continue;
+ //if(!(pfd.dwFlags & PFD_SUPPORT_OPENGL))
+ // continue;
++numWglVisuals;
}
@@ -603,8 +603,8 @@ print_visual_info(HDC hdc, InfoMode mode)
if(!DescribePixelFormat(hdc, i, sizeof(PIXELFORMATDESCRIPTOR), &pfd))
continue;
- if(!(pfd.dwFlags & PFD_SUPPORT_OPENGL))
- continue;
+ //if(!(pfd.dwFlags & PFD_SUPPORT_OPENGL))
+ // continue;
if (mode == Verbose)
print_visual_attribs_verbose(i, &pfd);