diff --git a/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl b/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl index 8969a483..6842c78f 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/VolumeResampler.inl @@ -84,7 +84,7 @@ namespace PolyVox float fScaleY = srcHeight / dstHeight; float fScaleZ = srcDepth / dstDepth; - SrcVolumeType::Sampler sampler(m_pVolSrc); + typename SrcVolumeType::Sampler sampler(m_pVolSrc); for(int32_t dz = m_regDst.getLowerCorner().getZ(); dz <= m_regDst.getUpperCorner().getZ(); dz++) {