merge FileData and ResourceData.
This commit is contained in:
parent
d2cb44b1bf
commit
fe106d9bfe
38 changed files with 77 additions and 118 deletions
|
|
@ -274,7 +274,7 @@ void IQMModel::LoadGeometry()
|
|||
try
|
||||
{
|
||||
auto lumpdata = fileSystem.ReadFile(mLumpNum);
|
||||
IQMFileReader reader(lumpdata.GetMem(), (int)lumpdata.GetSize());
|
||||
IQMFileReader reader(lumpdata.data(), (int)lumpdata.size());
|
||||
|
||||
Vertices.Resize(NumVertices);
|
||||
for (IQMVertexArray& vertexArray : VertexArrays)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue