Linux/GCC fix.

This commit is contained in:
David Williams 2014-08-19 21:02:52 +02:00
parent 349009c67e
commit 9b88e97599

View File

@ -81,7 +81,7 @@ namespace PolyVox
{ {
Mesh< Vertex< typename MeshType::VertexType::DataType >, typename MeshType::IndexType > decodedMesh; Mesh< Vertex< typename MeshType::VertexType::DataType >, typename MeshType::IndexType > decodedMesh;
for (MeshType::IndexType ct = 0; ct < encodedMesh.getNoOfVertices(); ct++) for (typename MeshType::IndexType ct = 0; ct < encodedMesh.getNoOfVertices(); ct++)
{ {
decodedMesh.addVertex(decodeVertex(encodedMesh.getVertex(ct))); decodedMesh.addVertex(decodeVertex(encodedMesh.getVertex(ct)));
} }