mirror of https://github.com/AxioDL/metaforce.git
Fix accidentally remove changes to RenderParticles
This commit is contained in:
parent
fcfa9f0d64
commit
671539d7eb
|
@ -1620,6 +1620,11 @@ void CElementGen::RenderParticles() {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CGX::End();
|
||||||
|
if (moveRedToAlphaBuffer) {
|
||||||
|
GXSetTevSwapMode(GX::TevStageID(nextStage - 1), GX::TEV_SWAP0, GX::TEV_SWAP0);
|
||||||
|
}
|
||||||
CGraphics::SetCullMode(ERglCullMode::Front);
|
CGraphics::SetCullMode(ERglCullMode::Front);
|
||||||
CGraphics::SetAlphaCompare(ERglAlphaFunc::Always, 0, ERglAlphaOp::And, ERglAlphaFunc::Always, 0);
|
CGraphics::SetAlphaCompare(ERglAlphaFunc::Always, 0, ERglAlphaOp::And, ERglAlphaFunc::Always, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue