Fix compilation on Linux:

- The template addition is apparently a C++ Standard thing which is a bit of a mess but the way GCC interprets it requires these.
 - In XOrg there is a struct called 'Region' which causes ambiguities. For some reason doing 'using PolyVox::Region' didn't fix it.
This commit is contained in:
Matt Williams
2011-01-06 17:56:19 +00:00
parent e6307a9a77
commit 149dde9460
2 changed files with 3 additions and 1 deletions

View File

@ -112,6 +112,7 @@ namespace PolyVox
}
}
template<>
void MeshDecimator<PositionMaterial>::fillInitialVertexMetadata(std::vector<InitialVertexMetadata>& vecVertexMetadata)
{
vecVertexMetadata.clear();
@ -171,6 +172,7 @@ namespace PolyVox
}
}
template<>
void MeshDecimator<PositionMaterialNormal>::fillInitialVertexMetadata(std::vector<InitialVertexMetadata>& vecVertexMetadata)
{
vecVertexMetadata.clear();