Commit 99d04661 authored by Janis Born's avatar Janis Born
Browse files

fix bug in loadVertexArrayObjectFromVAO

parent 34442236
......@@ -150,7 +150,7 @@ SharedVertexArrayObject loadVertexArrayObjectFromVAO(const std::string& _filenam
char* eabData;
file.read((char*)&eabNameLength, 4);
eabName = readString(file, eabNameLength-1);
eabName = readString(file, eabNameLength);
file.read((char*)&eabMode, 4);
file.read((char*)&eabType, 4);
file.read((char*)&eabPR, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment