diff options
author | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-16 08:01:43 +0000 |
---|---|---|
committer | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-16 08:01:43 +0000 |
commit | 616a5b64f9303a804072445eec3f58fe94fd889f (patch) | |
tree | 025d9cb8e959d20988041d3ed5e8b8911d30d246 /src/mesa/drivers/glide | |
parent | a95aba7d1f5732048ee4246b958c2050e3eda00b (diff) |
disabled stereo checking in wglChoosePixelFormat
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r-- | src/mesa/drivers/glide/fxwgl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c index 9f032e9094..46f60114d9 100644 --- a/src/mesa/drivers/glide/fxwgl.c +++ b/src/mesa/drivers/glide/fxwgl.c @@ -860,9 +860,14 @@ wglChoosePixelFormat(HDC hdc, const PIXELFORMATDESCRIPTOR * ppfd) if (!(pfd.dwFlags & PFD_DOUBLEBUFFER_DONTCARE) && ((pfd.dwFlags & PFD_DOUBLEBUFFER) != (pix[i].pfd.dwFlags & PFD_DOUBLEBUFFER))) continue; +#if 0 /* [dBorca] Hack alert:
+ * Doom3 fails here!
+ * Can we get away by implementing WGL_ARB_pixel_format?
+ */
if (!(pfd.dwFlags & PFD_STEREO_DONTCARE) && ((pfd.dwFlags & PFD_STEREO) != (pix[i].pfd.dwFlags & PFD_STEREO))) continue; +#endif if (pfd.cDepthBits > 0 && pix[i].pfd.cDepthBits == 0) continue; /* need depth buffer */ |