2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 11:26:09 +00:00

Runtime: GX state accuracy updates

CullMode, AlphaUpdate, ColorUpdate, DstAlpha
This commit is contained in:
2020-10-21 01:30:44 -04:00
parent 4995a1524e
commit 73c7755e4c
21 changed files with 100 additions and 49 deletions

View File

@@ -1388,7 +1388,7 @@ void CModel::_WarmupShaders() {
for (SShader& shader : x18_matSets) {
GetInstance().RemapMaterialData(shader);
GetInstance().UpdateUniformData(defaultFlags, nullptr, nullptr);
GetInstance().WarmupDrawSurfaces();
GetInstance().WarmupDrawSurfaces(defaultFlags, defaultFlags);
}
CGraphics::SetProjectionState(backupProj);
CGraphics::SetViewPointMatrix(backupViewPoint);