2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 13:47:43 +00:00

Initial area rendering (needs frustum culling fixes)

This commit is contained in:
Jack Andersen
2017-11-21 00:36:18 -10:00
parent cff5198e6b
commit f579007dc1
9 changed files with 20 additions and 19 deletions

View File

@@ -1244,7 +1244,7 @@ void CGameArea::FillInStaticGeometry(bool textures)
u32 surfCount = hecl::SBig(*reinterpret_cast<const u32*>(secIt->first));
inst.m_surfaces.reserve(surfCount);
inst.m_shaders.resize(matSet.m_matSet.materials.size());
inst.m_shaders.reserve(surfCount);
++secIt;
for (u32 j=0 ; j<surfCount ; ++j)
{