Include tangent/binormal cache in savestates

This theoretically matters for RS2/RS3, although in practice these games reconfigure it each frame so it shouldn't matter for savestates.
This commit is contained in:
Pokechu22
2022-10-07 11:52:44 -07:00
parent 1647fa350b
commit 05f3bbfa4d
2 changed files with 3 additions and 1 deletions

View File

@ -564,6 +564,8 @@ void VertexManagerBase::DoState(PointerWrap& p)
}
p.Do(m_zslope);
p.Do(VertexLoaderManager::tangent_cache);
p.Do(VertexLoaderManager::binormal_cache);
}
void VertexManagerBase::CalculateZSlope(NativeVertexFormat* format)