From 25e76d056404cf4d63503170e2ae3ea732e5400c Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 14 Oct 2016 19:01:18 +0200 Subject: [PATCH] gsdx ogl: use an invalid value for stencil state Fix shadow in WWE Smackdown Vs Raw 2006 --- plugins/GSdx/GLState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/GLState.cpp b/plugins/GSdx/GLState.cpp index 79786539d4..fa08f89a50 100644 --- a/plugins/GSdx/GLState.cpp +++ b/plugins/GSdx/GLState.cpp @@ -77,7 +77,7 @@ namespace GLState { stencil = false; stencil_func = 0; - stencil_pass = 0; + stencil_pass = 0xFFFF; // Note 0 is valid (GL_ZERO) ubo = 0;