Henri Verbeet : wined3d: Just remove the D3DCMP_NOTEQUAL / D3DCMP_EQUAL FIXME in state_zfunc().

Alexandre Julliard julliard at winehq.org
Tue May 28 15:16:59 CDT 2013


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue May 28 08:55:19 2013 +0200

wined3d: Just remove the D3DCMP_NOTEQUAL / D3DCMP_EQUAL FIXME in state_zfunc().

As far as I'm aware this just works, I'm not aware of any open issues related
to it.

---

 dlls/wined3d/state.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index cdccb47..05c49a5 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -267,21 +267,6 @@ static void state_zfunc(struct wined3d_context *context, const struct wined3d_st
 
     if (!depth_func) return;
 
-    if (depth_func == GL_EQUAL || depth_func == GL_NOTEQUAL)
-    {
-        static BOOL once;
-        /* There are a few issues with this: First, our inability to
-         * select a proper Z depth, most of the time we're stuck with
-         * D24S8, even if the app selects D32 or D16. There seem to be
-         * some other precision problems which have to be debugged to
-         * make NOTEQUAL and EQUAL work properly. */
-        if (!once)
-        {
-            once = TRUE;
-            FIXME("D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet.\n");
-        }
-    }
-
     gl_info->gl_ops.gl.p_glDepthFunc(depth_func);
     checkGLcall("glDepthFunc");
 }




More information about the wine-cvs mailing list