[D3D8] Fixed W buffer handling
Christian Costa
titan.costa at wanadoo.fr
Sun May 9 09:24:03 CDT 2004
Hi,
This patch fixes a display issue I have with Mafia.
Raphael, this might help you with your Red Faction problem.
Changelog:
Fixed W buffer handling.
Christian Costa titan.costa at wanadoo.fr
-------------- next part --------------
--- devold.c 2004-05-09 14:10:29.000000000 +0000
+++ device.c 2004-05-09 14:11:55.000000000 +0000
@@ -2242,10 +2242,13 @@
glEnable(GL_DEPTH_TEST);
checkGLcall("glEnable GL_DEPTH_TEST");
break;
-
case D3DZB_USEW:
+ glEnable(GL_DEPTH_TEST);
+ checkGLcall("glEnable GL_DEPTH_TEST");
+ FIXME("W buffer is not well handled\n");
+ break;
default:
- FIXME("Unrecognized/Unhandled D3DZBUFFERTYPE value %ld\n", Value);
+ FIXME("Unrecognized D3DZBUFFERTYPE value %ld\n", Value);
}
break;
More information about the wine-patches
mailing list