Henri Verbeet : wined3d: Remove an outdated comment in state_zwritenable().

Alexandre Julliard julliard at winehq.org
Thu Mar 8 14:26:22 CST 2012


Module: wine
Branch: master
Commit: 3d5ca7ab647d91481f2c2dbd4ae877ee64a9a9c5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3d5ca7ab647d91481f2c2dbd4ae877ee64a9a9c5

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Mar  7 18:38:53 2012 +0100

wined3d: Remove an outdated comment in state_zwritenable().

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);




More information about the wine-cvs mailing list