[PATCH 2/5] wined3d: Use the core version of the INCR_WRAP and DECR_WRAP tokens.

Matteo Bruni mbruni at codeweavers.com
Tue Feb 24 06:38:17 CST 2015


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




More information about the wine-patches mailing list