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

Function-scope statics aren't as efficient as file-scope ones

This commit is contained in:
Jack Andersen
2016-04-14 17:26:01 -10:00
parent c91bfade75
commit 86c21a77ac
12 changed files with 70 additions and 66 deletions

View File

@@ -188,10 +188,10 @@ static u32 StaticLoopEnd = 0;
static g72x_state StaticStateLeft = {};
static g72x_state StaticStateRight = {};
static const char* BlockNames[] = {"SpecterViewBlock"};
void CMoviePlayer::Initialize()
{
static const char* BlockNames[] = {"SpecterViewBlock"};
GraphicsData = CGraphics::CommitResources([&](boo::IGraphicsDataFactory::Context& ctx) -> bool
{
if (!ctx.bindingNeedsVertexFormat())