[PATCH 3/5] wined3d: Remove an outdated comment in state_zwritenable().

Henri Verbeet hverbeet at codeweavers.com
Wed Mar 7 11:38:53 CST 2012


We actually do have tests for this.
---
 dlls/wined3d/state.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index a26240a..c0e0c0e 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -205,8 +205,6 @@ static void state_ditherenable(struct wined3d_context *context, const struct win
 
 static void state_zwritenable(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id)
 {
-    /* TODO: Test if in d3d z writing is enabled even if ZENABLE is off.
-     * If yes, this has to be merged with ZENABLE and ZFUNC. */
     if (state->render_states[WINED3D_RS_ZWRITEENABLE])
     {
         glDepthMask(1);
-- 
1.7.3.4




More information about the wine-patches mailing list