Merge pull request #100 from lioncash/duplicate-condition

ZeroGS: Remove a duplicate condition in RenderCRTC
This commit is contained in:
ramapcsx2 2014-07-16 18:33:15 +02:00
commit cb9fc6fa3e
1 changed files with 1 additions and 3 deletions

View File

@ -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);