Fix accidentally remove changes to RenderParticles

This commit is contained in:
Luke Street 2022-03-20 16:34:25 -04:00
parent fcfa9f0d64
commit 671539d7eb
1 changed files with 5 additions and 0 deletions

View File

@ -1620,6 +1620,11 @@ void CElementGen::RenderParticles() {
break;
}
}
CGX::End();
if (moveRedToAlphaBuffer) {
GXSetTevSwapMode(GX::TevStageID(nextStage - 1), GX::TEV_SWAP0, GX::TEV_SWAP0);
}
CGraphics::SetCullMode(ERglCullMode::Front);
CGraphics::SetAlphaCompare(ERglAlphaFunc::Always, 0, ERglAlphaOp::And, ERglAlphaFunc::Always, 0);
}