Matteo Bruni : wined3d: Use the core version of the INCR_WRAP and DECR_WRAP tokens.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 25 09:57:01 CST 2015


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

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Tue Feb 24 13:38:17 2015 +0100

wined3d: Use the core version of the INCR_WRAP and DECR_WRAP tokens.

---

 dlls/wined3d/state.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 961f651..ccfe667 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -786,9 +786,9 @@ static GLenum gl_stencil_op(enum wined3d_stencil_op op)
         case WINED3D_STENCIL_OP_INVERT:
             return GL_INVERT;
         case WINED3D_STENCIL_OP_INCR:
-            return GL_INCR_WRAP_EXT;
+            return GL_INCR_WRAP;
         case WINED3D_STENCIL_OP_DECR:
-            return GL_DECR_WRAP_EXT;
+            return GL_DECR_WRAP;
         default:
             FIXME("Unrecognized stencil op %#x.\n", op);
             return GL_KEEP;




More information about the wine-cvs mailing list