mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-15 07:25:52 +00:00
Let's not blow up our memory usage plzkthxbai
This commit is contained in:
parent
9cb73b20fb
commit
fbf1e26eda
@ -213,8 +213,8 @@ CElementGen::CElementGen(TToken<CGenDescription> gen, EModelOrientationType orie
|
||||
m_shaderClass = CElementGenShaders::GetShaderClass(*this);
|
||||
}
|
||||
|
||||
// HACK: For now force maxInsts to be a multiple of 2560
|
||||
size_t maxInsts = x26c_30_MBLR ? (2560 * 2560) : 2560; // (x270_MBSP * x90_MAXP) : x90_MAXP;
|
||||
// HACK: For now force maxInsts to be 2560
|
||||
size_t maxInsts = 2560; // (x270_MBSP * x90_MAXP) : x90_MAXP;
|
||||
maxInsts = (maxInsts == 0 ? 256 : maxInsts);
|
||||
|
||||
CGraphics::CommitResources([&](boo::IGraphicsDataFactory::Context& ctx) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user