mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-22 19:41:04 -04:00
Update size to match vector content (#245)
This commit is contained in:
parent
06fb577d7f
commit
4c44f8f081
@ -282,9 +282,7 @@ void Direct3DRMViewportImpl::CollectMeshesFromFrame(
|
||||
verts.reserve(dataSize);
|
||||
verts.clear();
|
||||
d3dVerts.resize(vtxCount);
|
||||
d3dVerts.clear();
|
||||
faces.resize(dataSize);
|
||||
faces.clear();
|
||||
mesh->GetVertices(gi, 0, vtxCount, d3dVerts.data());
|
||||
mesh->GetGroup(gi, nullptr, nullptr, nullptr, nullptr, faces.data());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user