From cb5b265dcd13e17a9523185515841607f4f662ce Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 5 Jul 2014 14:00:00 -0400 Subject: [PATCH] ZeroGS: Remove a duplicate condition in RenderCRTC --- plugins/zerogs/dx/zerogs.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/zerogs/dx/zerogs.cpp b/plugins/zerogs/dx/zerogs.cpp index dff5173eb6..55b621e812 100644 --- a/plugins/zerogs/dx/zerogs.cpp +++ b/plugins/zerogs/dx/zerogs.cpp @@ -3243,9 +3243,7 @@ void ZeroGS::RenderCRTC(int interlace) if( ptarg->fbh - dby < texframe.th-movy && !bUsingStencil ) { - if( !bUsingStencil ) { - pd3dDevice->Clear(0, NULL, D3DCLEAR_STENCIL, 0, 1, 0); - } + pd3dDevice->Clear(0, NULL, D3DCLEAR_STENCIL, 0, 1, 0); bUsingStencil = 1; SETRS(D3DRS_STENCILENABLE, TRUE); SETRS(D3DRS_STENCILPASS, D3DSTENCILOP_REPLACE);