mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:44:56 +00:00
Windows build fixes and warning avoidance
This commit is contained in:
@@ -28,7 +28,7 @@ void InitializeBadging(specter::ViewResources& viewRes)
|
||||
if (uncompress(texels.get(), &destSz, URDE_BADGE + pos, URDE_BADGE_SZ - pos) != Z_OK)
|
||||
Log.report(logvisor::Fatal, "unable to decompress badge");
|
||||
|
||||
viewRes.m_factory->BooCommitTransaction([&](boo::IGraphicsDataFactory::Context& ctx)
|
||||
viewRes.m_factory->commitTransaction([&](boo::IGraphicsDataFactory::Context& ctx)
|
||||
{
|
||||
specter::IconAtlas<1, 1> atlas;
|
||||
|
||||
@@ -37,7 +37,7 @@ void InitializeBadging(specter::ViewResources& viewRes)
|
||||
texels.get(), destSz));
|
||||
g_BadgeIcon = atlas.getIcon(0, 0);
|
||||
return true;
|
||||
});
|
||||
} BooTrace);
|
||||
}
|
||||
|
||||
void DestroyBadging()
|
||||
|
||||
Reference in New Issue
Block a user