diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-04-10 18:43:51 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-04-10 19:50:35 +0100 |
commit | 3d6f364e7d8c9ee5c150dbd42e1035ebcf167d48 (patch) | |
tree | 85f74030200d072ea12f740e5a59b87e468eafbc /src/wgl/wglinfo.c | |
parent | 8e673961e3315ddb33d6ac9b3e2228925bf7d491 (diff) | |
download | mesa-demos-3d6f364e7d8c9ee5c150dbd42e1035ebcf167d48.zip mesa-demos-3d6f364e7d8c9ee5c150dbd42e1035ebcf167d48.tar.xz |
wgl: Note down the gallium pixel formats, instead of re-guessing them.
Diffstat (limited to 'src/wgl/wglinfo.c')
-rw-r--r-- | src/wgl/wglinfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wgl/wglinfo.c b/src/wgl/wglinfo.c index 5cf0e8b..881d35b 100644 --- a/src/wgl/wglinfo.c +++ b/src/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); |