2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 09:51:21 +00:00

CMappableObject: Fix call to data()

This commit is contained in:
Luke Street 2020-04-06 00:03:34 -04:00
parent fa2f37a14c
commit 58adce472a

View File

@ -256,7 +256,7 @@ void CMappableObject::ReadAutoMapperTweaks(const ITweakAutoMapper& tweaks) {
CGraphics::CommitResources([](boo::IGraphicsDataFactory::Context& ctx) {
g_doorVbo = ctx.newStaticBuffer(boo::BufferUse::Vertex, skDoorVerts.data(), 16, skDoorVerts.size());
g_doorIbo = ctx.newStaticBuffer(boo::BufferUse::Index, DoorIndices.data, 4, DoorIndices.size());
g_doorIbo = ctx.newStaticBuffer(boo::BufferUse::Index, DoorIndices.data(), 4, DoorIndices.size());
return true;
} BooTrace);
}