disabled stereo checking in wglChoosePixelFormat
authorDaniel Borca <dborca@users.sourceforge.net>
Mon, 16 Aug 2004 08:01:43 +0000 (08:01 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Mon, 16 Aug 2004 08:01:43 +0000 (08:01 +0000)
src/mesa/drivers/glide/fxwgl.c

index 9f032e909499d2e4bf715450e01a526889c03c0e..46f60114d9f146a4404064d4ead553fe6443d6cc 100644 (file)
@@ -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:\r
+       * Doom3 fails here!\r
+       * Can we get away by implementing WGL_ARB_pixel_format?\r
+       */\r
       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 */