From 034de0e9920f85dc7f73885775e0091fcf075029 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 3 Dec 2013 00:02:07 -0800 Subject: [PATCH] Do not wrap stencil values on INCR/DECR. --- GPU/GLES/StateMapping.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPU/GLES/StateMapping.cpp b/GPU/GLES/StateMapping.cpp index 41206eb026..31aa57063e 100644 --- a/GPU/GLES/StateMapping.cpp +++ b/GPU/GLES/StateMapping.cpp @@ -101,8 +101,8 @@ static const GLushort stencilOps[] = { GL_ZERO, GL_REPLACE, GL_INVERT, - GL_INCR_WRAP, - GL_DECR_WRAP, // don't know if these should be wrap or not + GL_INCR, + GL_DECR, GL_KEEP, // reserved GL_KEEP, // reserved };