aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-08-19 06:56:51 +0000
committerDaniel Borca <[email protected]>2004-08-19 06:56:51 +0000
commit55497973be7c8afa888581204e1cc0ba4f4ce99c (patch)
tree2e2fc57933ddb5fca0d8987e2867df1e9996d658 /src/mesa/drivers
parentfd9757d3b98b89b68dbf62bb9eee0f9dca30d95b (diff)
cleanup
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/glide/fxwgl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxwgl.c b/src/mesa/drivers/glide/fxwgl.c
index 46f60114d9f..109ddbd42e4 100644
--- a/src/mesa/drivers/glide/fxwgl.c
+++ b/src/mesa/drivers/glide/fxwgl.c
@@ -860,10 +860,8 @@ 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 1 /* [dBorca] Hack alert: Doom3 fails here!
+ */
if (!(pfd.dwFlags & PFD_STEREO_DONTCARE)
&& ((pfd.dwFlags & PFD_STEREO) !=
(pix[i].pfd.dwFlags & PFD_STEREO))) continue;