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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user